CN101630311B - Method and device for displaying characters - Google Patents
Method and device for displaying characters Download PDFInfo
- Publication number
- CN101630311B CN101630311B CN2008101169098A CN200810116909A CN101630311B CN 101630311 B CN101630311 B CN 101630311B CN 2008101169098 A CN2008101169098 A CN 2008101169098A CN 200810116909 A CN200810116909 A CN 200810116909A CN 101630311 B CN101630311 B CN 101630311B
- Authority
- CN
- China
- Prior art keywords
- text
- information
- stroke
- character
- characters
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 239000011159 matrix material Substances 0.000 claims description 10
- 230000001755 vocal effect Effects 0.000 claims description 6
- 230000003068 static effect Effects 0.000 claims description 4
- 238000009877 rendering Methods 0.000 claims 1
- 230000007547 defect Effects 0.000 abstract description 3
- 230000014509 gene expression Effects 0.000 description 6
- 230000033764 rhythmic process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/018—Input/output arrangements for oriental characters
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention provides a method for displaying characters. The characters comprise character information of basic elements obtained by splitting the characters according to strokes. The basic elements are stored in turn according to writing order and comprise font description information and direction information. The method comprises: providing the character information of a to-be-displayed character; selecting one stroke of the character according to the writing order of the character; acquiring the font description information and direction information of each basic element in the current stroke to draw the current stroke; and repeating the operation till finishing the display of the character or a part of the character. The method has the advantages of displaying the strokes in turn according to the writing order and overcoming the defect that the prior art can only perform overall display on the characters, along with wide application range and convenient use.
Description
Technical Field
The invention relates to character display, in particular to a display method for displaying characters according to a writing sequence.
Background
Characters are tools for information communication between people, and the character shapes of the characters are external expression forms of the characters, so that people can know the characters through the character shapes. When a computer is used to process characters, how to input, store, display, print and the like the characters in a computer system needs to be solved. Whatever the above operation, the core of the operation is related to the character word stock adopted in the computer.
The word font library is a description of word fonts in a computer, which is a collection of word fonts represented in the computer. When a user processes a character, the user finally needs to call information in a character font library so as to display the character on a computer screen or a printing terminal and the like. In the prior art, a character font library can be divided into a dot matrix font library, a vector font library, a curve font library, a center line font library and the like according to the storage mode of characters in the character font library, but no matter which character font library is used, when one character is stored, the character is stored as a whole as a graph or an image element. For example, in the case of a "sheet" character in chinese characters, image data of the entire character pattern represented by dots is stored in a dot matrix character library, and graphic descriptions of the entire character pattern are stored in a vector character library, a curve character library, and a center line character library. The various word stocks do not separately store information of a certain radical or a certain stroke in a character.
In the related art, the processing of characters is to perform various processing such as display, printing, and the like in units of characters. In practical applications, however, there is also a processing requirement for the information within the word. Still take a Chinese character as an example, the Chinese character has radicals, fixed stroke number, and a specified stroke sequence during writing. The information in the Chinese characters can not be reflected in the existing Chinese character library, thereby influencing the further open use of the Chinese character information. For example, if a user needs to output a certain Chinese character in a stroke order in a stroke-by-stroke manner, on the basis of the existing Chinese character library, the stroke contour or skeleton of the Chinese character to be output needs to be extracted, so that stroke information is obtained, then the strokes of the Chinese character are output in order, and the Chinese character cannot be directly output according to the stroke writing order of the information of the existing Chinese character library. The defects are related to the fact that the existing various character word libraries do not store word in-word information of characters, and further use of the characters is hindered.
Disclosure of Invention
In order to overcome the problem that the characters cannot be sequentially displayed according to the stroke sequence caused by the fact that the existing character library does not store the in-character information of the characters, a method and corresponding equipment for sequentially displaying and printing strokes of the characters are provided.
In order to achieve the above object, the present invention provides a text display method, wherein the text includes text information of basic elements obtained by splitting the text according to strokes, the basic elements are sequentially stored according to a writing order, and include font description information and direction information; the method comprises the following steps:
step 1), providing character information of characters to be displayed;
step 2), selecting a stroke of the character according to the writing sequence of the character;
step 3), obtaining font description information of each basic element in the current stroke and the direction information to draw the current stroke;
and 4) repeating the operations of the steps 2) and 3) until the display of the characters or the parts of the characters is completed.
In the above technical solution, the step 3) includes:
step 3-1), judging the representation mode of the font description information, if the font description information is in a dot matrix mode, executing the step 3-3), otherwise, executing the next step;
step 3-2), performing rasterization operation on each basic element in the current stroke according to the font description information;
and 3-3) performing drawing operation on the current stroke according to the direction information and the font description information.
In the above technical solution, the expression mode of the font description information includes a dot matrix mode, a vector mode, a curve mode, a center line mode, a contour mode, and a skeleton mode.
In the above technical solution, the text information further stores speed information for indicating how fast the basic elements are written and how long the pauses between the basic elements are made during writing; in the step 3), drawing the current stroke according to the speed information.
In the technical scheme, the character information also stores stroke type information and voice information or coding information thereof for reading out the stroke type; in the step 3), when the current stroke is drawn, the voice of the stroke is read according to the type of the current stroke.
In the above technical solution, the text information of the plurality of texts is stored in a text library, and each text has a unique code; wherein,
the step 1) further comprises obtaining the character information of the character from the character library according to the code of the character.
In the above technical solution, the text further includes text speech or speech coding information.
In the above technical solution, the text further includes information of a stroke number of the text and a stroke number of the text.
In the above technical solution, the text further includes information for selecting a representation manner of the font describing information.
In the above technical solution, the text further includes information for distinguishing the stroke number of the text according to the shape and sound of the text.
In the above technical solution, the text further includes a coding that takes the form side or the vocal side of the text as an independent text.
In the above technical solution, the stroke number of the character, the selection information of the representation mode of the font description information, the information for distinguishing the stroke number of the character according to the font side and the vocal side of the character, and the font side or the vocal side of the character as an independent character code are represented in an index table.
In the above technical solution, in the step 4), a calling condition is set before displaying a next stroke of the character, and the next stroke of the character is called only after the calling condition is satisfied, or the operation is ended according to the calling condition.
In the above technical solution, the direction information is calibrated according to eight directions, namely east, south, west, north, southeast, southwest, northeast and northwest, or according to an angle.
In the above technical solution, the drawing operation includes dynamic display, static display, and printing.
A character display device for realizing the character display method comprises a character information providing module, a stroke selecting module and a stroke depicting module; wherein,
the text information providing module is used for providing text information of the text to be displayed;
the stroke selection module is used for selecting one stroke of the characters according to the writing sequence of the characters;
and the stroke drawing module is used for drawing the current stroke according to the font description information and the direction information of each basic element in the current stroke.
In the above technical solution, the stroke description module includes a font description information representation manner judgment unit, a rasterization operation unit, and a drawing operation unit; wherein,
the font description information representation mode judging unit is used for judging the representation mode of the font description information of the basic element and determining whether to call a rasterization operation unit or a drawing operation unit according to the judgment result;
the rasterization operation unit is used for performing rasterization operation on characters or strokes in the characters;
the drawing operation unit is used for drawing strokes of characters.
In the technical scheme, the text information is stored in a text library, and the text information providing module obtains the text information of the text to be displayed from the text library.
The invention has the advantages that:
1. the invention splits the character into the basic elements according to the strokes and stores the font description information, the direction information and the speed information of the basic elements, so that the information can be sequentially called for display according to the writing sequence in the display process, the defect that the character can only be integrally displayed in the prior art is overcome, and the detailed information such as the writing direction, the writing rhythm and the like of the character in the writing process can be displayed.
2. The character display method covers various font description modes in the prior art, so that the method has the advantages of wide application range and convenience in use.
3. The invention distinguishes the character strokes according to the shapes and the sound sides, so that the user can process the characters in the characters according to the radicals.
Drawings
Embodiments of the invention are described in detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a schematic diagram of the directional partitioning of a two-dimensional space involved in the text display method of the present invention;
FIG. 2 is a diagram illustrating a text display method according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
In the following embodiments, the text display method of the present invention is specifically described by taking a chinese character as an example. Before explaining the method for displaying the Chinese characters, it is necessary to explain the data structure and storage manner of the Chinese character library related to the Chinese character display.
On the basis of the existing Chinese character library, the invention provides a new thought of the Chinese character library, and the in-character information of the Chinese characters is stored in the data structure of the Chinese character library. Specifically, a chinese character is first divided into basic elements, and two pieces of information, i.e., font description information and direction, of each basic element are recorded. In one embodiment of the invention, the base element involved may refer to a stroke or a segment of a stroke or a combination of strokes, e.g., for stroke "|", it may be a base element, and for a strokeIt can be divided into two basic elements, respectively "-" and "|". It can be seen from the above example that the strokes in the basic elements generally have the same direction and are simpler in structure, but the invention is not limited to the above description.
The above information of the basic element can describe the basic element in more detail, wherein the font description information is used to represent the shape of the basic element, and the font description information exists in the existing Chinese character library, but one difference with the present invention is that only the font description information of the whole character is stored in the existing Chinese character library, and in the present invention, the font description information of the basic element of the character is stored. The font describing information has various concrete expression forms, such as a dot matrix mode, a vector mode, a curve mode, a central line mode, a skeleton mode and an outline mode in the prior art can be used for expressing the font describing information. The direction is used to indicate the traveling direction of the stroke in the basic element, and in one implementation, the two-dimensional space may be divided into 8 directions, as shown in fig. 1, the 8 directions are respectively indicated by a, b, c, d, e, f, g, and h, and the directions of the basic element may be described by the above letters. For example, for the basic element "-", its direction of travel is horizontal from left to right, and thus its direction may be indicated by the letter b. In practical application, in order to improve the accuracy of describing the stroke traveling direction in the basic element, the direction of the basic element can also be described by adopting an angle method.
The information of the basic element is not limited to the above two information, and in another embodiment, the information of the basic element may further include speed information. The speed is used for representing the speed of the basic element in writing. As a basic common knowledge, Chinese characters have unique writing rhythms in the writing process, the writing speed of a certain pen is slightly high, the writing speed of the other pen is low, and speed information in basic elements is used for recording the writing speed of the basic elements. In particular, in a basic element, the writing speed difference exists between different segments, so that the speed information of the basic element can be described in a segmented mode. In addition, in the actual writing process, after a stroke or a basic element in the stroke is written, a corresponding pause may occur, so the speed information may further include information about the length of the pause time between the basic elements. In the following, how the in-word information of the chinese character is stored in the chinese character library is described by taking "one" of the chinese characters as an example.
Firstly, splitting basic elements of Chinese characters 'sheets', and obtaining the following basic elements arranged according to a writing sequence according to the splitting principle: "-", "", "", "" left-falling "" right-falling "" left "”。
Then, the information in the words of the Chinese characters is stored in the Chinese character library, in the storage process, the stored basic unit is not the whole word, but each basic element of the word is divided according to the description, and the storage information of all the basic elements is spliced into a complete word. The data structure of the "sheet" word at the time of storage is shown below in table 1.
TABLE 1
In the above table, information of each basic element in the word "sheet" is described, wherein the dot matrix/vector/curve/center line data information is specific information describing the shape of the basic element by numbers, and the information is already existed in the prior art, and a repeated description is not repeated here.
It should be noted that, since the basic elements "-", "" in the above table are composed of a basic strokeAccordingly, when numbering the two elements, the numbering is done by way of "0/0" or "0/1" to indicate that there is a relationship between the two elements, and to facilitate the uniform use of the "0" number for the strokeSuch divisions also exist for the basic elements' "", "-strokes" "and" "-" ". In addition, as mentioned in the foregoing description, the font description information can be represented in various manners, such as common lattice definition manner, outline definition manner (including straight line manner and curve manner), and skeleton definition mannerMeaning mode, central line definition mode, etc., which covers various typical current representation modes, such as TrueType, etc. In view of the fact that there are many ways to represent the font describing information, it is possible to define a plurality of data structures as shown in table 1 for a chinese character in a chinese character library, and represent the font describing information in different ways in different data structures, in consideration of the requirement of compatibility. By the method, the user can select a proper font description information representation mode according to the actual application condition, and various choices are provided for the user.
In the above table, in addition to numerically representing the writing order of the strokes, numerically represented stroke type information is included. In the "modern Chinese general character stroke order standard" issued by the national language and character working committee, various strokes of a Chinese character are divided into 5 basic types which are respectively represented by horizontal, vertical, left-falling, dot and turning, and other strokes in the Chinese character can be classified into corresponding stroke classes. For example, lifting can be returned to horizontal, right-pressing can be returned to point, vertical hook can be returned to vertical, and various folding pens (such as horizontal folding hook, vertical hook, etc.) can be returned to folding. Five basic types of horizontal, vertical, left-falling, dot and turning are respectively indicated by 1, 2, 3, 4 and 5. Although only the basic type information of the strokes is indicated in the above table, in a specific application, further division can be made under five basic types, for example, 1/0 for horizontal, 1/1 for vertical, 2/0 for vertical, 2/1 for vertical hook, etc., so as to obtain further stroke type information. The addition of the stroke type information is beneficial to the retrieval, classification and sequencing of strokes in Chinese characters and the display of strokes of specific stroke types.
In addition, in the above table, besides the type information of the strokes, the corresponding stroke voice information or the coding information thereof may be added according to the type information of the strokes, and according to the stroke voice information or the coding information thereof, the voice of the strokes may be read while displaying the strokes in the subsequent display process.
Based on the data structure described in table 1, in another embodiment, the call to this data structure may be implemented through an index table. By using the index table, further classified storage of the structural information in the Chinese characters can be realized. For example, since most chinese characters belong to pictophonetic characters, in the index table, the stroke numbers of the chinese characters can be stored in correspondence with the pictophonetic characters and the phonographic characters, thereby distinguishing the pictophonetic characters from the phonographic characters. As shown in Table 2 below, the individual strokes of the aforementioned "sheet" word are stored as follows:
chinese character coding | Side of the figure | 0、1、2 | Sound side | 3、4、5、6 | Number of strokes | 7 |
TABLE 2
In the above table, the chinese character codes may be Unicode codes or GB codes of chinese characters, where the Unicode code corresponding to a zhangzi is 5F20, and the GB code corresponding to a zhangzi is D5C 5.
In addition to the above information stored in Table 2, a spacing parameter may be added between each stroke number in the index table to indicate the pause of the stroke during writing. Of course, for the Chinese characters which do not belong to the pictophonetic characters, such as the single-body characters, the Chinese characters can be stored according to the pictophonetic side and the phonographic side without the above table, and only the serial number of the strokes and the total number of the strokes are recorded. In addition, it is mentioned in the foregoing that a plurality of data structures shown in table 1 may be defined for a chinese character so that the font description information may be represented in a plurality of ways, and therefore, an option for representing the referenced data structure may be added to the data structure shown in table 2, and according to the option, which way to display the chinese character in divided strokes may be selected, or the chinese character may be displayed in its entirety in the existing common way. In consideration of the requirement of searching in words, the shape side or the sound side of the characters can be added into the index table as an independent character code. For example, for "sheets," we can add the codes of "bow" words and "long" words in the index table. In addition, the voice or voice coding information of the characters can be added in the index table, so that the voice of the characters can be read in the subsequent character display process. More than one word of speech or speech coding information may be added to the index table, which facilitates the representation and distinction of polyphones.
In the above description, the chinese character library of the present invention is described by taking "zhang" characters as an example, and for other chinese characters, the above method can be used to implement the corresponding storage in the chinese character library. In a word, the Chinese character library provided by the invention creates conditions for displaying Chinese characters according to strokes by adding information in the Chinese characters.
Based on the Chinese character library, the Chinese characters can be further processed. In the process of displaying the Chinese characters, the Chinese characters can still be output according to the whole characters by the existing method, and the Chinese characters can also be output in sequence according to the stroke sequence according to the Chinese character internal information stored in the Chinese character library. The following will take the word "sheet" as an example, and the display method of the present invention will be correspondingly described with reference to fig. 2.
And step 10, obtaining an index table of the Chinese characters by utilizing Chinese character coding. For specific Chinese characters, there is a unique Chinese character code, so that a corresponding index table can be obtained according to the code, and the index table in this step is shown in table 2.
And 20, selecting a Chinese character display mode, calling a Chinese character library part for integrally describing the font of the Chinese character from the Chinese character library if the Chinese character is integrally displayed, then displaying according to the display method in the prior art, and executing the next step if the Chinese character is displayed according to the strokes.
And step 30, selecting one stroke of the Chinese character according to the sequence. Because the strokes of the Chinese characters are numbered in sequence by numbers when being stored in the Chinese character library, the strokes can be selected progressively from small to large according to the numbers in the step. For example, for a "sheet" word, the first stroke is represented by 0, so when the first stroke is selected, the stroke numbered 0 is selected, and when the selection is made thereafter, the strokes numbered 1, 2, 3, etc. may be selected in sequence.
And step 40, calling the font description information of the current stroke. Since a stroke may be divided into multiple basic elements, when the glyph description information of the current stroke is called, the glyph description information of all the basic elements in the stroke is actually called. After the corresponding encoding of the stroke is obtained from the previous step, specific information of the basic elements in the stroke, including the font description information, the direction information and the speed information, can be obtained from the corresponding data structure (as shown in table 1). In the above description of the chinese character library, it has been mentioned that the font describing information of the chinese characters is represented by a dot matrix manner, a vector manner, a curve manner, a center line manner, a skeleton manner or a contour manner in the prior art, and thus when the font describing information is called, a corresponding font describing information describing method is adopted according to the representation manner of the font describing information.
and step 60, performing rasterization operation on the basic elements in the current stroke according to the font description information. Rasterization refers to the process of converting a primitive into a two-dimensional image. The specific implementation of rasterization operations is well within the state of the art.
And step 70, drawing the current stroke. Drawing operations on strokes include static display, dynamic display and printing. The dynamic display is to display the strokes of the Chinese characters according to the writing rule. As already mentioned in the foregoing, a stroke may be divided into a plurality of basic elements, and thus the corresponding drawing is performed in the order of the basic elements in the stroke during the dynamic display of the drawing operation. In the drawing process, firstly, the writing sequence needs to be known, and the writing sequence can be obtained through the direction information of the basic elements; secondly, in the process of drawing operation, the writing rhythm of the Chinese characters is reflected, and the writing rhythm can be obtained through speed information in basic elements. Static display and printing in drawing operations already exist in the prior art, and a description thereof will not be repeated. In the above, it has been mentioned that the font description information of the stroke has a plurality of representation modes, and in the process of the drawing operation, for the representation mode that needs to be rasterized, the drawing operation is performed on the basis of the rasterization operation, and for the lattice mode that does not need to be rasterized, the drawing operation is performed directly. The specific implementation process of drawing operation is the same for different expressions. In addition, when the current stroke is drawn, if the dynamic display process is used for gradually displaying the Chinese characters according to the writing sequence of the stroke, the voice information of the stroke can be read out simultaneously in the display process.
And 80, judging whether the current stroke is the last stroke of the current Chinese character, if so, ending the display process of the current Chinese character, otherwise, calling the next stroke of the Chinese character, and then executing the step 30 again. In this step, a certain calling condition may be set before calling the next stroke in the chinese character, for example, the next stroke is called after a certain input information of the user is obtained, so that in the display process, the output of the strokes of the chinese character is displayed under the control of the user, and one stroke is sequentially realized. In addition, the selective display of a part of the Chinese characters (such as the components) can be realized by utilizing the calling condition. After the calling condition is set, in this step, it is also necessary to determine whether the next stroke to be called satisfies the termination condition in the calling condition, and if so, the display is terminated.
In the above embodiments, the method for displaying characters is described by taking chinese characters as an example, but it should be understood by those skilled in the art that similar processing may be performed for other types of characters to implement further operations on information in the characters.
Corresponding to the character display method of the invention, the idea of the invention can also be realized by adopting a character display device, which comprises a character information unit, a stroke selection module and a stroke description module; the character information unit is used for storing information of basic elements obtained by splitting the characters according to strokes;
the stroke selection module is used for calling corresponding stroke information from the character information unit in the process of sequentially displaying according to strokes and judging whether the current stroke is the last stroke or the next stroke of the character or not to meet calling termination conditions;
the stroke drawing module is used for finishing drawing the strokes according to the information of the strokes.
The equipment also comprises a display mode selection module, and the display mode selection module is used for selecting the display mode of the characters.
The stroke drawing module comprises a font description information representation mode judging unit, a rasterization operation unit and a drawing operation unit; the font description information representation mode judging unit is used for judging the representation mode of the font description information of the basic element and determining whether to call a rasterization operation unit or a drawing operation unit according to the judgment result;
the rasterization operation unit is used for performing rasterization operation on characters or strokes in the characters;
the drawing operation unit is used for drawing strokes of characters.
The character information units are combined to obtain a character library.
Compared with the existing text display equipment, the text display equipment has more choices on display modes, and provides greater flexibility for users.
The text display device can also have typesetting and printing functions.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention and are not limited. Although the present invention has been described in detail with reference to the embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (19)
1. A text display method, the said text includes the text information of the basic element obtained according to the split of the stroke of the said text, the said basic element includes the descriptive information of the character pattern, direction information; the method comprises the following steps:
step 1), providing character information of characters to be displayed;
step 2), selecting a stroke of the character according to the writing sequence of the character;
step 3), obtaining font description information of each basic element in the current stroke and the direction information to draw the current stroke;
and 4) repeating the operations of the steps 2) and 3) until the display of the characters or the parts of the characters is completed.
2. The text display method of claim 1, wherein the basic elements are sequentially stored in a writing order.
3. The text display method according to claim 1, wherein the step 3) comprises:
step 3-1), judging the representation mode of the font description information, if the font description information is in a dot matrix mode, executing the step 3-3), otherwise, executing the next step;
step 3-2), performing rasterization operation on each basic element in the current stroke according to the font description information;
and 3-3) performing drawing operation on the current stroke according to the direction information and the font description information.
4. The method of claim 3, wherein the font-style description information is represented in a dot matrix manner, a vector manner, a curve manner, a center line manner, an outline manner, or a skeleton manner.
5. The text display method according to claim 1, 2 or 3, wherein speed information indicating how fast the basic elements are written and how long pauses between the basic elements are written is further stored in the text information; in the step 3), drawing the current stroke according to the speed information.
6. The text display method according to claim 1, 2 or 3, wherein said text information further stores stroke type information and voice information for reading out stroke type or its coding information; in the step 3), when the current stroke is drawn, the voice of the stroke is read according to the type of the current stroke.
7. The text display method according to claim 1, 2 or 3, wherein the text information of the plurality of texts is stored in a text library, each text having a unique code; wherein,
the step 1) further comprises obtaining the character information of the character from the character library according to the code of the character.
8. A text display method according to claim 1, 2 or 3, wherein the text further comprises text speech or speech coded information.
9. The text display method of claim 1, wherein the text further comprises information of a stroke number of the text and a stroke number of the text.
10. The text display method according to claim 9, wherein the text further includes information for selecting a representation mode of the font describing information.
11. The text display method of claim 10, wherein the text further comprises information for distinguishing stroke numbers of the text by the shape and the sound of the text.
12. The method of claim 11, wherein the text further comprises a font or a vocal side of the text as an independent text code.
13. The method of claim 12, wherein the stroke number of the text, the selection information of the representation mode of the font description information, the information for distinguishing the stroke number of the text according to the font side and the vocal side of the text, and the font side or the vocal side of the text as an independent text code are represented in an index table.
14. The character display method of claim 1, 2 or 3, wherein in the step 4), a call condition is set before displaying the next stroke of the character, and the next stroke of the character is called after the call condition is satisfied, or the operation is finished according to the call condition.
15. The text display method according to claim 1, 2 or 3, wherein the direction information is calibrated according to eight directions of east, south, west, north, southeast, southwest, northeast, northwest, or according to an angle.
16. The text display method of claim 3, wherein the drawing operation includes dynamic display, static display and printing.
17. A text display device for implementing the text display method of claims 1-16, comprising a text information providing module, a stroke selecting module, a stroke depicting module; wherein,
the text information providing module is used for providing text information of the text to be displayed;
the stroke selection module is used for selecting one stroke of the characters according to the writing sequence of the characters;
and the stroke drawing module is used for drawing the current stroke according to the font description information and the direction information of each basic element in the current stroke.
18. The text display device of claim 17, wherein the stroke rendering module comprises a glyph description information representation mode determining unit, a rasterization operation unit, and a drawing operation unit; wherein,
the font description information representation mode judging unit is used for judging the representation mode of the font description information of the basic element and determining whether to call a rasterization operation unit or a drawing operation unit according to the judgment result;
the rasterization operation unit is used for performing rasterization operation on characters or strokes in the characters;
the drawing operation unit is used for drawing strokes of characters.
19. The text display apparatus of claim 17 or 18, wherein the text information is stored in a text library, and the text information providing module obtains the text information of the text to be displayed from the text library.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101169098A CN101630311B (en) | 2008-07-18 | 2008-07-18 | Method and device for displaying characters |
PCT/CN2009/000806 WO2010006512A1 (en) | 2008-07-18 | 2009-07-17 | Display method, retrieval method and display device of characters |
HK10106890.6A HK1140565A1 (en) | 2008-07-18 | 2010-07-15 | Method and device for displaying characters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101169098A CN101630311B (en) | 2008-07-18 | 2008-07-18 | Method and device for displaying characters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101630311A CN101630311A (en) | 2010-01-20 |
CN101630311B true CN101630311B (en) | 2011-05-04 |
Family
ID=41550002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101169098A Active CN101630311B (en) | 2008-07-18 | 2008-07-18 | Method and device for displaying characters |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN101630311B (en) |
HK (1) | HK1140565A1 (en) |
WO (1) | WO2010006512A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105513108A (en) * | 2015-12-11 | 2016-04-20 | 中国航空工业集团公司西安航空计算技术研究所 | Word stock drawing method based on texture mapping |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682022B (en) * | 2011-03-15 | 2014-12-24 | 高静敏 | Implementation method for Chinese character holographic movable character library |
CN102521573A (en) * | 2011-12-09 | 2012-06-27 | 陕西理工学院 | Stroke identification method of writing strokes |
CN104346375B (en) | 2013-07-31 | 2017-10-13 | 北大方正集团有限公司 | A kind of method and device for making middle character library |
CN104572683A (en) * | 2013-10-17 | 2015-04-29 | 北大方正集团有限公司 | Word stroke animation processing method and device |
CN106981086A (en) * | 2016-01-18 | 2017-07-25 | 北大方正集团有限公司 | Information broadcasting method and information play apparatus |
CN106021198A (en) * | 2016-05-12 | 2016-10-12 | 成都职业技术学院 | Preparation method of 16*16 dot matrix Chinese character stroke order character library |
CN106648430A (en) * | 2016-12-20 | 2017-05-10 | 天脉聚源(北京)传媒科技有限公司 | Method and apparatus for intelligently displaying pull-down refreshing animation |
CN107885863B (en) * | 2017-11-21 | 2021-10-15 | 湖北大学 | Map symbol expression method and system based on ontology |
CN111294659B (en) * | 2018-12-10 | 2021-02-09 | 北京乐柏信息咨询有限公司 | Method and device for controlling track playing speed, medium and processing equipment |
CN110322538B (en) * | 2019-06-26 | 2023-09-05 | 广州视源电子科技股份有限公司 | Text display method, text display device, storage medium and processor |
CN111324405A (en) * | 2020-01-20 | 2020-06-23 | 北京无限光场科技有限公司 | Character display method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5615285A (en) * | 1992-05-27 | 1997-03-25 | Apple Computer, Inc. | Method and apparatus for recognizing handwritten words |
CN1271123A (en) * | 1988-09-05 | 2000-10-25 | 亚洲通信私人有限公司 | Processor for Chinese character computer |
CN1426000A (en) * | 2001-12-13 | 2003-06-25 | 精工爱普生株式会社 | Character processing device and processing method and storage medium |
CN101131687A (en) * | 2006-08-22 | 2008-02-27 | 文鼎科技开发股份有限公司 | Method for generating font |
-
2008
- 2008-07-18 CN CN2008101169098A patent/CN101630311B/en active Active
-
2009
- 2009-07-17 WO PCT/CN2009/000806 patent/WO2010006512A1/en active Application Filing
-
2010
- 2010-07-15 HK HK10106890.6A patent/HK1140565A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1271123A (en) * | 1988-09-05 | 2000-10-25 | 亚洲通信私人有限公司 | Processor for Chinese character computer |
US5615285A (en) * | 1992-05-27 | 1997-03-25 | Apple Computer, Inc. | Method and apparatus for recognizing handwritten words |
CN1426000A (en) * | 2001-12-13 | 2003-06-25 | 精工爱普生株式会社 | Character processing device and processing method and storage medium |
CN101131687A (en) * | 2006-08-22 | 2008-02-27 | 文鼎科技开发股份有限公司 | Method for generating font |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105513108A (en) * | 2015-12-11 | 2016-04-20 | 中国航空工业集团公司西安航空计算技术研究所 | Word stock drawing method based on texture mapping |
Also Published As
Publication number | Publication date |
---|---|
HK1140565A1 (en) | 2010-10-15 |
CN101630311A (en) | 2010-01-20 |
WO2010006512A1 (en) | 2010-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101630311B (en) | Method and device for displaying characters | |
US7257528B1 (en) | Method and apparatus for Chinese character text input | |
KR940005434B1 (en) | Chinese words & characters computer input device for word processing, electronic mail computerized fax & telex | |
US4990903A (en) | Method for storing Chinese character description information in a character generating apparatus | |
US7940273B2 (en) | Determination of unicode points from glyph elements | |
JP2002507289A (en) | Glyph drawing method using layout service library | |
CN108319578B (en) | Method for generating medium for data recording | |
CN102682022B (en) | Implementation method for Chinese character holographic movable character library | |
CN109271610A (en) | A kind of vector expression of Chinese character | |
JP5502814B2 (en) | Method and system for assigning diacritical marks to Arabic text | |
JPWO2008015825A1 (en) | Written font data and character output system | |
KR101229175B1 (en) | Method and adaptive for creating handwriting font | |
CN104133809B (en) | Font style bolding method | |
CN108961361B (en) | Method and system for generating special effect text image and computer equipment | |
US20130057554A1 (en) | Consolidating glyphs of a font | |
CN104951811A (en) | Handwriting trace recognition method and device for writing with writing brush | |
CN100501656C (en) | Tone and shape combination method for inputting Chinese character into electronic apparatus | |
KR20140018859A (en) | Chinese character information processing method and chinese character information processing device | |
CN105912139B (en) | Method for correspondingly recognizing modular stroke coding Chinese characters | |
CN111046096B (en) | Method and device for generating graphic structured information | |
CN115525728A (en) | Method and device for Chinese character sorting, chinese character retrieval and Chinese character insertion | |
JP2008046622A (en) | Method for creating fonts | |
CN112966510A (en) | Weapon equipment entity extraction method, system and storage medium based on ALBERT | |
JP2006040263A (en) | Handwritten input for asian language | |
JP3803253B2 (en) | Method and apparatus for Kanji input |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1140565 Country of ref document: HK |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1140565 Country of ref document: HK |