CN113392268A - Special effect text rendering method and device, electronic equipment and storage medium - Google Patents

Special effect text rendering method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113392268A
CN113392268A CN202110351217.7A CN202110351217A CN113392268A CN 113392268 A CN113392268 A CN 113392268A CN 202110351217 A CN202110351217 A CN 202110351217A CN 113392268 A CN113392268 A CN 113392268A
Authority
CN
China
Prior art keywords
special effect
text
information
effect text
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110351217.7A
Other languages
Chinese (zh)
Inventor
张伟池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bigo Technology Pte Ltd
Original Assignee
Bigo Technology Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bigo Technology Pte Ltd filed Critical Bigo Technology Pte Ltd
Priority to CN202110351217.7A priority Critical patent/CN113392268A/en
Publication of CN113392268A publication Critical patent/CN113392268A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a method and a device for rendering a special effect text, electronic equipment and a storage medium, wherein the method comprises the following steps: firstly, acquiring content information and characteristic information of a special effect text; then, generating outline information of the special effect text according to the content information and the characteristic information; and further, according to the outline information, drawing an image of the special effect text so as to realize the rendering of the special effect text. Therefore, the special effect text can be dynamically generated according to the content information and the characteristic information of different special effect texts, and the capacity of the installation package is not large, so that the user experience can be improved.

Description

Special effect text rendering method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for rendering a special effect text, an electronic device, and a storage medium.
Background
The UI, namely User Interface, refers to the overall design of man-machine interaction, operation logic and attractive Interface of software, and the UI can fully embody the positioning and characteristics of the software. The excellent UI effect can make the software more vivid, and the user experience of the software can be improved, so that the market competitiveness of the software is improved.
The text special effect is used as a popular UI effect at present, and is generally used in short video or live broadcast software, for example, the text with the hollow effect can be used as a video classification label and displayed above a video playing layer, so that the video classification label and the video are integrated as much as possible and are not very obtrusive.
At present, a method for rendering a special effect of a text generally comprises the following steps: the method comprises the steps of designing a PNG (Portable Network Graphics) picture with a special character effect in advance, transmitting the picture to a client, and directly displaying the pre-designed picture by the client, so that the special character is displayed. However, this method cannot dynamically modify the content and background color of the special effect text, and also increases the package volume of the software, resulting in poor user experience.
Disclosure of Invention
In order to solve the technical problem, the application shows a method and a device for rendering a special effect text, an electronic device and a storage medium.
In a first aspect, the present application illustrates a method for rendering special effect text, the method comprising:
acquiring content information and characteristic information of the special effect text;
generating outline information of the special effect text according to the content information and the characteristic information;
and drawing the image of the special effect text according to the outline information so as to realize the rendering of the special effect text.
In a second aspect, the present application illustrates a special effects text rendering apparatus, the apparatus comprising:
the acquisition module is used for acquiring the content information and the characteristic information of the special effect text;
the generating module is used for generating the outline information of the special effect text according to the content information and the characteristic information;
and the drawing module is used for drawing the image of the special effect text according to the outline information so as to realize the rendering of the special effect text.
In a third aspect, the present application shows an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the special effect text rendering method according to any one of the above when executing the program.
In a fourth aspect, the present application shows a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the special effects text rendering method of any of the above.
Compared with the prior art, the method has the following advantages:
in the application, firstly, content information and characteristic information of a special effect text are obtained; then, generating outline information of the special effect text according to the content information and the characteristic information; and further, according to the outline information, drawing an image of the special effect text so as to realize the rendering of the special effect text.
Therefore, the special effect text can be dynamically generated according to the content information and the characteristic information of different special effect texts, and the capacity of the installation package is not large, so that the user experience can be improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of steps of a method for rendering special effect text according to the present application;
FIG. 2 is a flow chart of steps of another method of special effect text rendering of the present application;
fig. 3 is a block diagram of a special effect text rendering apparatus according to the present application;
fig. 4 is a block diagram of an electronic device according to the present application.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The following describes in detail the special effect text rendering method provided by the embodiment of the present invention by using a specific embodiment.
Referring to fig. 1, a flowchart illustrating steps of a special effect text rendering method according to the present application is shown, where the method specifically includes the following steps:
s101: and acquiring content information and characteristic information of the special effect text.
The content information is text content of the special effect text, including characters, symbols or punctuations, and the characteristic information is characteristics of the special effect text, such as text color, size, and the like. The content information and the characteristic information of the special effect text can be obtained through interaction between software and a user, namely, the user can input the corresponding text according to requirements and set the required text special effect.
In one implementation mode, after the content information and the characteristic information of the special effect text are obtained, whether the cache image of the special effect text is stored or not can be inquired according to the content information and the characteristic information of the special effect text; if the special effect text is stored, the image of the special effect text can be obtained and drawn so as to realize the rendering of the special effect text; and if not, executing a step of generating the outline information of the special effect text according to the content information and the characteristic information.
Therefore, for the special effect text with the same content information and characteristic information, the cache image can be directly inquired and obtained without repeating the generation step of the corresponding image, and the occupation of system resources is reduced.
The cached image of the special effect text may be stored in a cache or a corresponding database, and the database may be a database inside the current device or a third-party database in a network, which is not limited specifically.
For example, in a cache or a corresponding database, the image of the special effect text may be named in a 16-system expression form, the naming rule may include information such as input parameter text content, font size, word weight, background color of a non-hollow area, and the like in content information and feature information, each of the content information and the feature information corresponds to a unique file name, and thus, after the content information and the feature information of the special effect text are obtained, a picture file with the same file name may be searched in a directory of the cache or the corresponding database.
S102: and generating outline information of the special effect text according to the content information and the characteristic information.
In one implementation, the step of generating the outline information of the special effect text according to the content information and the feature information may include:
and generating a rich text object of the special effect text according to the content information and the characteristic information, wherein the rich text object can be understood as the information for describing character information required to be displayed on the equipment, and the information comprises the information such as font size, font color, line height, line spacing and the like.
Then, according to the rich text object, determining a plurality of row typesetting data object arrays, traversing the plurality of row typesetting data object arrays, obtaining typesetting data and font data of each word, and generating rendering data of the word, wherein the row typesetting object can be understood as information for describing text layout, including information such as display position of each row, which words are included in each row, display position of each word, and the like, and the row typesetting object arrays can be obtained according to the rich text object through function call.
And further, packaging the rendering data of each word to obtain the outline information of the special effect text, wherein the packaging of the rendering data of each word is the conversion of the rendering data from a bottom layer API to an upper layer API, and the coordinate system conversion is also included, so that the subsequent calling of the rendering data by the upper layer API is facilitated.
For example, the rich text object of the special effect text is generated according to the content information and the feature information, and specifically, the rich text object is generated according to the parameter text content (NSString), the text font size and the word weight information (UIFont) parameters by using an NSAttributedString initialization method.
Then, according to the rich text object, determining a plurality of line typesetting data object arrays, traversing the plurality of line typesetting data object arrays, obtaining typesetting data and font data of each word, and generating rendering data of the word, for example, generating all line typesetting data object arrays corresponding to the rich text object by using a CTLineReatedWithAttributedString method, traversing all line typesetting data object arrays to obtain typesetting data (CTLineRef) of each line, traversing the line typesetting object to obtain each font typesetting data (CGGlyph) and font data (CTFontRef) of each line, generating rendering data (CGPathRef) of each specific font by using a CTFontCreatePattern ForGlyph method, and storing the rendering data of all fonts in a CGutPathRef object.
Further, the rendering data of each word is encapsulated to obtain the outline information of the special effect text, specifically, the method may be to convert the rendering data set CGMutablePathRef of the text into the uibezier path object, that is, the outline information, by using the uibezier path initialization method. Since the coordinate system of Core Text is a natural coordinate system, i.e., the lower left corner is the origin of coordinates, and the origin of coordinates of UIKits is the upper left corner, a coordinate system conversion operation is required after conversion to uibezier path.
S103: and drawing an image of the special effect text according to the contour information so as to realize the rendering of the special effect text.
In one implementation, the step of rendering the image of the special effect text according to the contour information may include: creating a drawing board; adding the contour information of the background and the contour information of the special effect text which are acquired in advance into the drawing board; and carrying out color filling on the region corresponding to the background and the region corresponding to the special effect text in the drawing board to obtain an image of the special effect text. The image of the special effect text can be used as a bitmap to be drawn, the drawing board is the context of the bitmap, the bitmap includes a background corresponding region and a special effect text corresponding region, and the pre-acquired outline information of the background can include the pixel size and the background color of the background.
In this step, a manner of color filling a region corresponding to a background and a region corresponding to the special effect text in the drawing board may be that an odd-even filling rule is adopted, and the background and the region corresponding to the special effect text are divided into a path inner region and a path outer region according to contour information of the background and contour information of the special effect text; and then, carrying out color filling on the internal area of the path in the drawing board to obtain an image of the special effect text.
In addition, when color filling is carried out, only the inner area of the path in the drawing board can be filled with the color, and the outer area of the path is not filled with the color, so that the image of the special effect text with the hollow effect is obtained; or two different colors can be set to respectively fill the area inside the path and the area outside the path; or, two different transparencies may be set, and the same color is used to fill the inside area and the outside area of the path, which is not limited specifically.
The odd-even filling rule is that a point is found in the drawing board at will, then an infinite length ray is emitted by taking the point as a starting point, the starting value is 0, the ray can be intersected with the outline of the background or the special effect text, the count is increased by 1 when one outline is intersected, and if the count is an odd number, the current area is considered to be the area inside the path and the color needs to be filled; if the number of the areas is even, the current area is considered to be the area outside the path, and color filling is not needed, so that the effect of hollowing out the special effect text can be realized.
For example, using uigraphics beginimagecontextwithoptions to create a bitmap context (CGContextRef), then adding the previously obtained outline information of the background and the outline information of the special effect text uibezier path to the bitmap context, further taking the corresponding region of the background and the corresponding region of the special effect text as a bitmap, using CGContextEOFillPath to fill the bitmap with colors, for example, using cgcontextsetfillcorwith color to set a non-hollow background color, wherein the filling rule of CGContextEOFillPath is a parity filling rule, so that a bitmap with a hollow effect can be obtained, and then using the uigraphics getimagefromcurrentimagecontextmethod to generate a bitmap object.
In one implementation, after the image of the special effect text is drawn according to the contour information, the image, the content information, and the feature information of the special effect text may be correspondingly stored as a cache image of the special effect text. Therefore, the cached images are convenient to search, and the waste of computing resources is reduced.
Therefore, according to the content information and the characteristic information of different special effect texts, the special effect texts can be dynamically generated, and the capacity of the installation package is not large, so that the user experience can be improved.
Referring to fig. 2, a flowchart illustrating steps of another special effect text rendering method according to the present application is shown, where the method specifically includes the following steps:
s201: and acquiring content information and characteristic information of the special effect text.
The content information is text content of the special effect text, including characters, symbols or punctuations, and the characteristic information is characteristics of the special effect text, such as text color, size, and the like. The content information and the characteristic information of the special effect text can be obtained through interaction between software and a user, namely, the user can input the corresponding text according to requirements and set the required text special effect.
In one implementation mode, after the content information and the characteristic information of the special effect text are obtained, whether the cache image of the special effect text is stored or not can be inquired according to the content information and the characteristic information of the special effect text; if the special effect text is stored, the image of the special effect text can be obtained and drawn so as to realize the rendering of the special effect text; and if not, executing a step of generating the outline information of the special effect text according to the content information and the characteristic information.
Therefore, for the special effect text with the same content information and characteristic information, the cache image can be directly inquired and obtained without repeating the generation step of the corresponding image, and the occupation of system resources is reduced.
S202: and generating a rich text object of the special effect text according to the content information and the characteristic information.
The rich text object can be understood as describing text information required to be displayed on the device, including information such as font size, font color, line height, line spacing and the like.
For example, the rich text object of the special effect text is generated according to the content information and the feature information, and specifically, the rich text object is generated according to the parameter text content (NSString), the text font size and the word weight information (UIFont) parameters by using an NSAttributedString initialization method.
S203: and determining a plurality of row typesetting data object arrays according to the rich text object, traversing the plurality of row typesetting data object arrays, obtaining typesetting data and font data of each word, and generating rendering data of the word.
The line typesetting object can be understood as information for describing the text layout, including information such as the display position of each line, which characters are included in each line, the display position of each character and the like, and the line typesetting object array can be obtained according to the rich text object through function call.
According to the rich text object, determining a plurality of line typesetting data object arrays, traversing the plurality of line typesetting data object arrays, obtaining typesetting data and font data of each word, and generating rendering data of the word, for example, generating all line typesetting data object arrays corresponding to the rich text object by using a CTLineReatedWithAttributedString method, traversing all line typesetting data object arrays to obtain typesetting data (CTLineRef) of each line, traversing the line typesetting object to obtain typesetting data (CGGlyph) and font data (CTFontRef) of each line, generating rendering data (CGPathRef) of each specific font by using a CTFontCreatePurpyphenTyph method, and storing the rendering data of all fonts in a CGGuutblePathRef object.
S204: and packaging the rendering data of each word to obtain the outline information of the special effect text.
The method comprises the steps of receiving rendering data of each word, and packaging the rendering data of each word, wherein the step of packaging the rendering data of each word is the conversion of the rendering data from a bottom layer API to an upper layer API, and the coordinate system conversion is also included, so that the subsequent calling of the rendering data by the upper layer API is facilitated.
For example, the UIBezierPath initialization method may be used to translate the set of rendering data CGMeutblePath Ref for text into a UIBezierPath object, i.e., outline information. Since the coordinate system of Core Text is a natural coordinate system, i.e., the lower left corner is the origin of coordinates, and the origin of coordinates of UIKits is the upper left corner, a coordinate system conversion operation is required after conversion to uibezier path.
S205: and creating a drawing board, and adding the contour information of the background and the contour information of the special effect text which are acquired in advance into the drawing board.
The image of the special effect text may be used as a bitmap to be drawn, the drawing board is a context of the bitmap, the bitmap includes a background corresponding region and a special effect text corresponding region, and the pre-acquired contour information of the background may include a pixel size and a background color of the background.
S206: dividing a background and a corresponding area of the special effect text into an inner area of a path and an outer area of the path according to the contour information of the background and the contour information of the special effect text; and carrying out color filling on the internal area of the path in the drawing board to obtain an image of the special effect text.
For example, a bitmap context (CGContextRef) is created using uigraphics beginimagecontextwithoptions, and then, the previously acquired outline information of the background and the outline information uibezier path of the special effect text are added to the bitmap context, and further, the background corresponding region and the special effect text corresponding region are used as the bitmap.
The odd-even filling rule is that a point is found in the drawing board at will, then an infinite length ray is emitted by taking the point as a starting point, the starting value is 0, the ray can be intersected with the outline of the background or the special effect text, the count is increased by 1 when one outline is intersected, and if the count is an odd number, the current area is considered to be the area inside the path and the color needs to be filled; if the number of the areas is even, the current area is considered to be the area outside the path, and color filling is not needed, so that the effect of hollowing out the special effect text can be realized.
For example, a non-hollow background color may be set using cgcontextsetfillcormuthcolor, where the filling rule of CGContextEOFillPath is an odd-even filling rule, so that a bitmap with a hollow effect may be obtained, and then a bitmap object may be generated using the uigraphics getimagefromcurrentimagecontext method.
In one implementation, after the image of the special effect text is drawn according to the contour information, the image, the content information, and the feature information of the special effect text may be correspondingly stored as a cache image of the special effect text. Therefore, the cached images are convenient to search, and the waste of computing resources is reduced.
Therefore, according to the content information and the characteristic information of different special effect texts, the special effect texts can be dynamically generated, and the capacity of the installation package is not large, so that the user experience can be improved.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no single embodiment is necessarily required by the application.
Referring to fig. 3, a block diagram of a structure of a special effect text rendering apparatus according to the present application is shown, where the apparatus may specifically include the following modules:
an obtaining module 301, configured to obtain content information and feature information of the special effect text;
a generating module 302, configured to generate contour information of the special effect text according to the content information and the feature information;
the drawing module 303 is configured to draw an image of the special effect text according to the contour information, so as to implement rendering of the special effect text.
In one implementation, the generating module 302 is specifically configured to:
generating a rich text object of the special effect text according to the content information and the characteristic information;
acquiring a plurality of row typesetting data object arrays corresponding to the rich text object, traversing the plurality of row typesetting data object arrays, acquiring typesetting data and font data of each word, and generating a rendering path of the word;
and converting the rendering path of each word into the outline information of the special effect text.
In one implementation, the drawing module 303 is specifically configured to:
creating a context for the bitmap;
adding the contour information of the background area of the special effect text and the contour information of the special effect text into the context of the bitmap;
and carrying out color filling on the bitmap to obtain an image of the special effect text.
In one implementation, the apparatus further comprises:
the query module is used for querying whether to store the cache image of the special effect text or not according to the content information and the characteristic information; if the special effect text is stored, drawing an image of the special effect text to realize the rendering of the special effect text; and if not, executing a step of generating the outline information of the special effect text according to the content information and the characteristic information.
In one implementation, the apparatus further comprises:
and the storage module is used for correspondingly storing the image, the content information and the characteristic information of the special effect text as a cache image of the special effect text.
Therefore, according to the content information and the characteristic information of different special effect texts, the special effect texts can be dynamically generated, and the capacity of the installation package is not large, so that the user experience can be improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The special effect text rendering device provided by the embodiment of the invention has the corresponding functional module for executing the special effect text rendering method, can execute the special effect text rendering method provided by the embodiment of the invention, and can achieve the same beneficial effects.
In another embodiment provided by the present invention, there is also provided an electronic device, which may include: the processor executes the program to realize each process of the above special effect text rendering method embodiment, and can achieve the same technical effect, and the details are not repeated here in order to avoid repetition. For example, as shown in fig. 4, the electronic device may specifically include: a processor 401, a storage device 402, a display screen 403 with touch functionality, an input device 404, an output device 405, and a communication device 406. The number of the processors 401 in the electronic device may be one or more, and one processor 401 is taken as an example in fig. 4. The processor 401, the storage means 402, the display 403, the input means 404, the output means 405 and the communication means 406 of the electronic device may be connected by a bus or other means.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, which when run on a computer, cause the computer to perform the special effect text rendering method described in any of the above embodiments.
In a further embodiment of the present invention, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of special effect text rendering as described in any of the above embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on different points from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (9)

1. A method for rendering special effect text, the method comprising:
acquiring content information and characteristic information of the special effect text;
generating outline information of the special effect text according to the content information and the characteristic information;
and drawing the image of the special effect text according to the outline information so as to realize the rendering of the special effect text.
2. The method according to claim 1, wherein generating outline information of the special effect text according to the content information and the feature information comprises:
generating a rich text object of the special effect text according to the content information and the feature information;
determining a plurality of row typesetting data object arrays according to the rich text object;
traversing the plurality of row typesetting data object arrays to obtain typesetting data and font data of each word and generate rendering data of the word;
and packaging the rendering data of each word to obtain the outline information of the special effect text.
3. The method of claim 1, wherein the rendering the image of the special effect text according to the outline information comprises:
creating a drawing board;
adding the contour information of the background and the contour information of the special effect text which are acquired in advance into the drawing board;
and carrying out color filling on the region corresponding to the background and the region corresponding to the special effect text in the drawing board to obtain an image of the special effect text.
4. The method according to claim 3, wherein the color filling of the area corresponding to the background and the area corresponding to the special effect text in the drawing board to obtain the image of the special effect text comprises:
dividing the background and the corresponding area of the special effect text into an inner area of a path and an outer area of the path according to the contour information of the background and the contour information of the special effect text by adopting an odd-even filling rule;
and carrying out color filling on the internal area of the path in the drawing board to obtain the image of the special effect text.
5. The method according to claim 1, wherein after the obtaining of the content information and the feature information of the special effect text, the method further comprises:
inquiring whether to store a cache image of the special effect text or not according to the content information and the feature information;
if the special effect text is stored, drawing an image of the special effect text to realize the rendering of the special effect text;
and if not, executing the step of generating the outline information of the special effect text according to the content information and the characteristic information.
6. The method of claim 5, wherein after said rendering the image of the special effect text according to the outline information, the method further comprises:
and correspondingly storing the image, the content information and the characteristic information of the special effect text as a cache image of the special effect text.
7. An apparatus for rendering a special effect text, the apparatus comprising:
the acquisition module is used for acquiring the content information and the characteristic information of the special effect text;
the generating module is used for generating the outline information of the special effect text according to the content information and the characteristic information;
and the drawing module is used for drawing the image of the special effect text according to the outline information so as to realize the rendering of the special effect text.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements the steps of the special effect text rendering method according to any of claims 1 to 6.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the special effect text rendering method according to any one of claims 1 to 6.
CN202110351217.7A 2021-03-31 2021-03-31 Special effect text rendering method and device, electronic equipment and storage medium Pending CN113392268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110351217.7A CN113392268A (en) 2021-03-31 2021-03-31 Special effect text rendering method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110351217.7A CN113392268A (en) 2021-03-31 2021-03-31 Special effect text rendering method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113392268A true CN113392268A (en) 2021-09-14

Family

ID=77617628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110351217.7A Pending CN113392268A (en) 2021-03-31 2021-03-31 Special effect text rendering method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113392268A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058206A1 (en) * 2005-09-09 2007-03-15 Xerox Corporation Special effects achieved by setoverprint/setoverprintmode and manipulating object optimize rendering (OOR) tags and colors
CN1932757A (en) * 2006-06-28 2007-03-21 钟明华 Core 1 DRAW software teaching technological plan
CN101465973A (en) * 2008-11-04 2009-06-24 新奥特(北京)视频技术有限公司 Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix
CN103810739A (en) * 2014-02-20 2014-05-21 南京师范大学 Image character morphing animation generating method
CN107103638A (en) * 2017-05-27 2017-08-29 杭州万维镜像科技有限公司 A kind of Fast rendering method of virtual scene and model
CN108961361A (en) * 2017-05-27 2018-12-07 天津方正手迹数字技术有限公司 Generate method and system, the computer equipment of literal with special effect image
CN110012237A (en) * 2019-04-08 2019-07-12 厦门大学 Video generation method and system based on interaction guidance and cloud enhancing rendering
WO2020103245A1 (en) * 2018-11-23 2020-05-28 北京方正手迹数字技术有限公司 Font rendering method and apparatus, and computer-readable storage medium
CN111221596A (en) * 2018-11-23 2020-06-02 北京方正手迹数字技术有限公司 Font rendering method and device and computer readable storage medium
CN111462279A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Image display method, device, equipment and readable storage medium
CN111698523A (en) * 2019-12-06 2020-09-22 广州华多网络科技有限公司 Method, device, equipment and storage medium for presenting text virtual gift
CN111783382A (en) * 2019-04-02 2020-10-16 珠海金山办公软件有限公司 Recommendation method and device for visual effect of document
CN112365607A (en) * 2020-11-06 2021-02-12 北京市商汤科技开发有限公司 Augmented reality AR interaction method, device, equipment and storage medium
CN112395848A (en) * 2020-11-18 2021-02-23 平安普惠企业管理有限公司 Rich text display method and device, computer equipment and storage medium
CN112528596A (en) * 2020-12-01 2021-03-19 北京达佳互联信息技术有限公司 Rendering method and device for special effect of characters, electronic equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058206A1 (en) * 2005-09-09 2007-03-15 Xerox Corporation Special effects achieved by setoverprint/setoverprintmode and manipulating object optimize rendering (OOR) tags and colors
CN1932757A (en) * 2006-06-28 2007-03-21 钟明华 Core 1 DRAW software teaching technological plan
CN101465973A (en) * 2008-11-04 2009-06-24 新奥特(北京)视频技术有限公司 Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix
CN103810739A (en) * 2014-02-20 2014-05-21 南京师范大学 Image character morphing animation generating method
CN107103638A (en) * 2017-05-27 2017-08-29 杭州万维镜像科技有限公司 A kind of Fast rendering method of virtual scene and model
CN108961361A (en) * 2017-05-27 2018-12-07 天津方正手迹数字技术有限公司 Generate method and system, the computer equipment of literal with special effect image
CN111221597A (en) * 2018-11-23 2020-06-02 北京方正手迹数字技术有限公司 Font rendering method and device and computer readable storage medium
WO2020103245A1 (en) * 2018-11-23 2020-05-28 北京方正手迹数字技术有限公司 Font rendering method and apparatus, and computer-readable storage medium
CN111221596A (en) * 2018-11-23 2020-06-02 北京方正手迹数字技术有限公司 Font rendering method and device and computer readable storage medium
CN111462279A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Image display method, device, equipment and readable storage medium
CN111783382A (en) * 2019-04-02 2020-10-16 珠海金山办公软件有限公司 Recommendation method and device for visual effect of document
CN110012237A (en) * 2019-04-08 2019-07-12 厦门大学 Video generation method and system based on interaction guidance and cloud enhancing rendering
CN111698523A (en) * 2019-12-06 2020-09-22 广州华多网络科技有限公司 Method, device, equipment and storage medium for presenting text virtual gift
CN112365607A (en) * 2020-11-06 2021-02-12 北京市商汤科技开发有限公司 Augmented reality AR interaction method, device, equipment and storage medium
CN112395848A (en) * 2020-11-18 2021-02-23 平安普惠企业管理有限公司 Rich text display method and device, computer equipment and storage medium
CN112528596A (en) * 2020-12-01 2021-03-19 北京达佳互联信息技术有限公司 Rendering method and device for special effect of characters, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雷勇: "网页动态特效", 《四川经济管理学院学报》, 15 February 2003 (2003-02-15), pages 46 - 49 *

Similar Documents

Publication Publication Date Title
CN109582909B (en) Webpage automatic generation method and device, electronic equipment and storage medium
CN101996206B (en) Method, device and system for displaying web page
CN111209721A (en) Bitmap font realization method and device, electronic equipment and storage medium
KR100727066B1 (en) Method for providing mobile webpage by employing to dynamic template
CN107463366A (en) A kind of interface mobilism method based on mobile App
CN108717437A (en) Search result methods of exhibiting, device and storage medium
CN113515928A (en) Electronic text generation method, device, equipment and medium
CN112634406A (en) Method, device, electronic equipment, storage medium and program product for generating picture
CN109960478A (en) A kind of Web map printing method for previewing and device
CN110851050B (en) Method and device for testing clicking of page elements
CN115757272A (en) Method and system for converting HTML file into OFD file
CN107438194A (en) A kind of intelligent television UI object rendering methods and intelligent television
JP7185044B2 (en) Element rendering method, device, computer program and computer device
CN107248947B (en) Expression processing method and processing device, computer equipment and storage medium
CN113392268A (en) Special effect text rendering method and device, electronic equipment and storage medium
CN112581568A (en) Dynamic poster generation method, device, server and storage medium
CN104572816A (en) Information processing method and electronic equipment
CN102087550B (en) Hardware equipment as well as method and system for inputting therein
CN103309878B (en) Method and device used for layout in webpage displaying
CN102902658A (en) Colorful character displaying method and device
CN101789130A (en) Method and device for terminal equipment to use self-drawn picture
CN115114280A (en) Report generation processing method, device and equipment
CN110362790A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of font file
CN103838743A (en) Method, system and equipment for reading format documents online
CN105701073A (en) Layout file generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination