CN112100980B - Method, device, equipment and storage medium for displaying additional information characters - Google Patents

Method, device, equipment and storage medium for displaying additional information characters Download PDF

Info

Publication number
CN112100980B
CN112100980B CN202010994500.7A CN202010994500A CN112100980B CN 112100980 B CN112100980 B CN 112100980B CN 202010994500 A CN202010994500 A CN 202010994500A CN 112100980 B CN112100980 B CN 112100980B
Authority
CN
China
Prior art keywords
information
additional information
text
vector icon
icon
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
Application number
CN202010994500.7A
Other languages
Chinese (zh)
Other versions
CN112100980A (en
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.)
Hunan Hanxing Information Technology Co ltd
Original Assignee
Hunan Hanxing Information Technology Co 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 Hunan Hanxing Information Technology Co ltd filed Critical Hunan Hanxing Information Technology Co ltd
Priority to CN202010994500.7A priority Critical patent/CN112100980B/en
Publication of CN112100980A publication Critical patent/CN112100980A/en
Application granted granted Critical
Publication of CN112100980B publication Critical patent/CN112100980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention is applicable to the technical field of computers, and provides a method, a device, equipment and a storage medium for displaying additional information characters, wherein the method comprises the following steps: determining characters to be displayed; judging whether character vector icon information corresponding to the characters to be displayed exists or not; and when judging that the character exists, determining a character vector icon according to the character vector icon information, and displaying the character vector icon information to a user, wherein the character vector icon information comprises font body structure information, additional information and position information of the additional information relative to the font body structure. According to the display method of the additional information words, when the word vector icon information corresponding to the words to be displayed is judged to exist, the word vector icon can be determined and displayed according to the word vector icon information, and the word vector icon information carries the additional information, so that the word vector icon displayed to the user also contains the additional information, and the reader can understand the additional information conveniently.

Description

Method, device, equipment and storage medium for displaying additional information characters
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method, a device, equipment and a storage medium for displaying additional information characters.
Background
"Book same text" is an important aid for the development of human society to globalization. The current automatic translation system has made great progress, but still has a great distance from accurate and barrier-free cross-language, cultural exchanges.
With popularization of a computer, the current general standard Chinese character library in the computer is difficult to meet the requirements of domestic and foreign language learning and international cultural communication application, and most of the time, when a foreign reader reads a file of general standard Chinese characters in the computer, the domestic pen user is difficult to understand, especially for understanding a plurality of words with one word and multiple meanings, the word and the word can be understood only through auxiliary translation software, so that the reader cannot understand the content of the file conveniently.
It can be seen that the characters displayed in the current general standard Chinese character library in the computer are inconvenient for foreign readers to understand the content.
Disclosure of Invention
The embodiment of the invention aims to provide a display method, a device, equipment and a storage medium for additional information characters, and aims to solve the technical problem that the characters displayed by the current general standard Chinese character library in the prior art are inconvenient for foreign readers to understand contents.
The embodiment of the invention is realized in such a way that the display method of the additional information text comprises the following steps:
Determining characters to be displayed;
Judging whether text vector icon information with additional information corresponding to the text to be displayed exists in an additional information vector font library;
If the judgment result is yes, determining a text vector icon according to text vector icon information with additional information corresponding to the text to be displayed, and displaying the text vector icon to a user;
The additional information vector font library comprises characters and character vector icon information with additional information corresponding to the characters; the text vector icon information with the additional information includes font body structure information, the additional information, and position information of the additional information with respect to the font body structure.
Another object of an embodiment of the present invention is to provide a display device for displaying additional information text, including:
the character to be displayed determining unit is used for determining characters to be displayed;
A text vector icon information judging unit for judging whether text vector icon information with additional information corresponding to the text to be displayed exists in an additional information vector font library;
The text vector icon display unit is used for determining text vector icons according to text vector icon information with additional information corresponding to the text to be displayed and displaying the text vector icons to a user if the judgment result is yes;
the additional information vector font library comprises characters and at least one character vector icon information with additional information, wherein the at least one character vector icon information is corresponding to the characters; the text vector icon information with the additional information comprises font body structure information, the additional information and position information of the additional information relative to the font body structure.
It is a further object of an embodiment of the present invention to provide a computer device comprising a memory and a processor, wherein the memory stores a computer program, which when executed by the processor causes the processor to perform the steps of the method for displaying additional information words as described above.
It is a further object of an embodiment of the present invention to provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of the method for displaying additional information words as described above.
According to the display method of the additional information words, the font data structure of the vector font library is expanded, the position information of the additional information relative to the font body structure is contained in addition to the font body structure information, then the word vector icon information with the additional information corresponding to the words is generated according to the additional information determined by a user and written into the additional information vector font library, when the words are required to be displayed, whether the word vector icon information with the additional information corresponding to the words to be displayed exists in the additional information vector font library can be judged, and when the word vector icon information with the additional information corresponding to the words to be displayed is judged to exist, the word vector icon of the words is determined according to the word vector icon information with the font body structure information, the additional information and the position information of the additional information relative to the font body structure, and is displayed to the user.
Drawings
FIG. 1 is a flow chart of steps of a method for displaying additional information text according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps for generating text vector icon information with additional information according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another step of generating text vector icon information with additional information according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a further step of generating text vector icon information with additional information according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a further step of generating text vector icon information with additional information according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of another method for displaying additional information text according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating steps of a method for displaying additional information text according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a display device with additional information characters according to an embodiment of the present invention;
Fig. 9 is a schematic structural diagram of a computer device for executing a method for displaying additional information text according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Considering that the characters displayed by the current general standard Chinese character library are inconvenient for foreign readers to understand the content, the requirements of domestic and foreign Chinese learning and international cultural communication application are difficult to be met. The invention uses the vector font library as the main bottom technology to expand the current general standard Chinese character library, expands the position information of the additional information relative to the font body structure on the basis of the font data structure of the current general standard Chinese character library, thereby realizing that the additional information is added on the basis of the font body structure of the current characters to obtain new character vector icon information, forming the new vector font library, and the character vector icon information of the characters in the vector font library contains the position information of the additional information relative to the font body structure and the additional information besides the conventional font body structure information, so that the computer can display the additional information at the position of the additional information relative to the font body structure when displaying the characters, and the additional information can facilitate readers and users to understand the meaning of the characters at the position, thereby facilitating foreign readers to understand the content and meeting the requirements of foreign and domestic language learning and international cultural communication application.
As shown in fig. 1, a step flow chart of a method for displaying additional information text according to an embodiment of the present invention specifically includes the following steps:
Step S102, determining the text to be displayed.
In the embodiment of the present invention, although the gist of the present invention is to make improvements to the font data structure of the vector font library from the perspective of the vector font library, these improvements are usually made in advance, and in the actual application process, the improved vector font library is usually directly utilized, that is, additional information text after improvement is directly input or displayed. The invention thus provides a step of displaying additional information text, starting from the process of application.
In the embodiment of the invention, when a user opens a file in a computer, the text in the file is the text to be displayed, and the computer needs to decode information contained in the file to output the text.
Step S104, judging whether the text vector icon information with the additional information corresponding to the text to be displayed exists in the additional information vector font library. When the judgment result is yes, executing step S106; and when the judging structure is NO, executing other steps.
In the embodiment of the invention, the vector font library is improved in advance, so that part of additional information characters are determined, and the character vector icon information of the additional information characters is written into the additional information vector font library. Therefore, it is required to determine whether the additional information text exists in the text to be displayed, that is, determine whether the corresponding text vector icon information exists in the additional information vector font library, and obviously, if the corresponding text vector icon information exists in the additional information vector font library, it is indicated that the text to be displayed is the additional information text, and at this time, it is required to perform special decoding to display the additional information text, that is, step S106 is performed. And when the corresponding text vector icon information does not exist in the additional information vector font library, the text to be displayed is indicated to be the conventional display text, and the text to be displayed is displayed based on the conventional vector font library decoding mode.
In the embodiment of the invention, the additional information vector font library comprises characters and character vector icon information with additional information corresponding to the characters, namely, the additional information characters and the corresponding additional information characters are stored. Compared with the text vector icon information in the conventional vector font library, the text vector icon information with the additional information contains the additional information and the position information of the additional information relative to the font body structure besides the font body structure information, and the position information of the additional information relative to the font body structure and the additional information are decoded together with the font body structure information in the display process, and are displayed to a user together with the generation of special text vector icons.
In the embodiment of the present invention, the process of improving the vector icon information of the text in the vector font library and generating the text vector icon information with additional information is specifically referred to fig. 2 and the explanation thereof.
And step S106, determining a text vector icon according to the text vector icon information with the additional information corresponding to the text to be displayed, and displaying the text vector icon to a user.
In the embodiment of the present invention, it should be noted that the text vector icon information is a manner of storing text in the computer, and the text vector icon is a result of decoding the text vector icon information by the computer.
In the embodiment of the invention, the text vector icon is determined based on the text vector icon information with the additional information, and the text vector icon information with the additional information not only comprises the font body structure information, but also comprises the additional information and the position information of the additional information relative to the font body structure, so that the text vector icon not only displays a text main body, but also displays the pre-added additional information at the position of the additional information relative to the font body structure, thereby being convenient for a user to understand the text.
According to the display method of the additional information words, the font data structure of the vector font library is expanded, the position information of the additional information relative to the font body structure is contained in addition to the font body structure information, then the word vector icon information with the additional information corresponding to the words is generated according to the additional information determined by a user and written into the additional information vector font library, when the words are required to be displayed, whether the word vector icon information with the additional information corresponding to the words to be displayed exists in the additional information vector font library can be judged, and when the word vector icon information with the additional information corresponding to the words to be displayed is judged to exist, the word vector icon of the words is determined according to the word vector icon information with the font body structure information, the additional information and the position information of the additional information relative to the font body structure, and is displayed to the user.
As shown in fig. 2, a flowchart of steps for generating text vector icon information with additional information according to an embodiment of the present invention specifically includes the following steps:
step S202, determining the text of the information to be attached according to the selection operation of the user on the text in the vector font library, and acquiring the font body structure information of the text of the information to be attached.
In the embodiment of the invention, because the invention is an improvement on the existing vector font library, a user is required to determine the vector font library first, and at the moment, the computer loads the resources of the vector font library, wherein the resources comprise the font body structure information of each text in the vector font library.
In the embodiment of the invention, further, when the user determines the vector font library, additional information is required to be added into the font body structure information of each character in the vector font library, at this time, the user needs to select a certain character as the character to be added with information, and the font body structure information of the character to be added with information is acquired from the resource of the vector font library.
In the embodiment of the invention, in the actual process, a user can select any number of characters according to the requirement to repeatedly execute the process of the embodiment of the invention, so that the corresponding additional information characters are generated.
Step S204, generating character vector icon information with additional information corresponding to the character to be added according to the additional information input by the user, the character body structure information of the character to be added and the position information of the predetermined additional information relative to the character body structure.
In the embodiment of the invention, the vector font library is expanded, so that the Chinese vector icon information in the vector font library can contain additional information and the position information of the additional information relative to the font body structure besides the conventional font body structure information. The position information of the additional information relative to the font body structure is preset, and the additional information of different characters is determined according to the additional information input by a user.
In the embodiment of the present invention, the additional information may include one or a combination of any several of pinyin, traditional Chinese, english translations, paraphrasing, etc. of the text, and the position information of the additional information relative to the font body structure is usually located at four corners of the font body. For example, it may be set in such a manner that pinyin is added to the upper left corner of the font body, a traditional Chinese character is added to the upper right corner of the font body, an english translation is added to the lower left corner of the font body, a paraphrase is added to the lower right corner of the font body, and the like. At this time, after determining the text to be added with information, the text vector icon information with the additional information is generated according to the additional information input by the user.
In the embodiment of the present invention, in fact, the additional information may include any other custom additional information besides the above-listed information, for example, color drawing information, that is, corresponding colors of each stroke in the font are sequentially given according to a predetermined color sequence according to a writing order of the strokes, or different colors are respectively given according to each component in the font, and in order to implement addition of the additional information, improvement of a font data structure of the vector font library is also required.
In the embodiment of the present invention, as can be seen from the explanation of the step S106, the text vector icon information is a manner of storing text in the computer, and the text vector icon is a result of decoding the text vector icon information by the computer. Therefore, in the specific process of generating the text vector icon information with the additional information corresponding to the text to be added according to the additional information input by the user, the font body structure information of the text to be added and the position information of the predetermined additional information relative to the font body structure, the text vector icon needs to be used, and the specific process is referred to fig. 4 and the explanation thereof.
After determining the text requiring additional information in the vector font library, the method for generating text vector icon information with additional information expands the text vector icon information of the text to be added with the additional information based on the predetermined position information of the additional information relative to the font body structure and the additional information input by the user in real time, so that the text vector icon information with the additional information not only comprises the font body structure of the text, but also comprises the additional information and the position information of the additional information relative to the font body structure, and the text vector icon with the additional information can be generated after decoding.
As shown in fig. 3, another flowchart of the step of generating text vector icon information with additional information according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, the difference between the step S204 and the step flowchart of generating the text vector icon information with additional information shown in fig. 2 is that:
Step S302, generating text vector icon information with additional information corresponding to the text to be added according to the additional information input by a user, the font body structure information of the text to be added, the position information of the predetermined additional information relative to the font body structure and the proportion information of the additional information relative to the font body structure.
In the embodiment of the present invention, the difference between the above-described additional information and the text vector icon information with the additional information is that the text vector icon information with the additional information further includes the proportion information of the additional information relative to the font body structure, that is, the proportion of the additional information occupying the whole text vector icon after decoding is described.
In the embodiment of the invention, by further limiting the proportion information, the additional information carried in the characters can not be checked and identified by naked eyes when the characters are normally displayed, normal reading is not affected, and after the characters are amplified, the additional information in the characters can be clearly checked and identified, so that a reader can be helped to accurately understand the original effect of a writer. The character display effect avoids the influence of the additional information on the character main body, and meanwhile, the reader can be further helped to understand the character main body, so that the character display device is more practical.
As shown in fig. 4, a flowchart of a further step of generating text vector icon information with additional information according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, the difference between the step S204 and the step flowchart of generating text vector icon information with additional information shown in fig. 2 is that the step S204 specifically includes:
step S402, generating a character vector icon of the information character to be added according to the font body structure information of the information character to be added.
In the embodiment of the invention, the text vector icon information is the mode of storing text in the computer, and the text vector icon is the result of decoding the text vector icon information by the computer. Therefore, in the process of specifically generating the text vector icon information with the additional information, the text vector icon needs to be utilized, specifically, the text vector icon of the text to be added with the additional information when the additional information is not added needs to be determined first, and at this time, the text vector icon can be directly determined through the font body structure information of the text to be added with the information.
And step S404, adding the additional information input by the user to the text vector icon according to the additional information input by the user and the position information of the predetermined additional information relative to the font body structure, and generating the text vector icon with the additional information corresponding to the text of the information to be added.
In the embodiment of the invention, further, the position of the additional information to be added to the text vector icon is determined according to the predetermined position information of the additional information relative to the font body structure, and the additional information is added at the position according to the additional information input by the user, so that the text vector icon with the additional information corresponding to the text of the information to be added can be generated.
Step S406, generating text vector icon information with additional information corresponding to the text of the information to be added according to the text vector icon with additional information corresponding to the text of the information to be added.
In the embodiment of the present invention, further, after the text vector icon with additional information corresponding to the text of the information to be added is generated, the text vector icon with additional information can be converted into data recognizable by a computer through encoding, that is, text vector icon information with additional information, so that in the subsequent application process (in particular, step S106), a text vector icon with text main body information and additional information which can be understood by a user can be generated according to the text vector icon information with additional information.
In the embodiment of the present invention, it can be understood that the text vector icon information and the text vector icon are essentially inverse processes, that is, processes of computer encoding and decoding. The text vector icon information is a computer internal language, and the text vector icon is an output language.
As shown in fig. 5, a flowchart of a further step of generating text vector icon information with additional information according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, the difference between the step of generating the text vector icon information with the additional information and the step of generating the text vector icon information with the additional information shown in fig. 2 is that, after the step S202, the method further includes:
Step S502, generating additional information configuration file information corresponding to the text of the information to be added according to the additional information input by the user.
In the embodiment of the invention, besides combining the additional information with the font body structure to generate the text vector icon information with the additional information, the additional information configuration file information corresponding to the text can be generated solely according to the additional information. However, similarly, the additional information configuration file information needs to be associated with the text and the text vector icon information of the text, and by generating the additional information configuration file information associated with the text according to the additional information alone, the computer program can directly decode the additional information according to the additional information configuration file information, so that the subsequent application process is convenient, and the details of fig. 7 and the explanation thereof can be referred to.
As shown in fig. 6, another method for displaying additional information text according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, the difference from the method for displaying additional information text shown in fig. 1 is that, after the step S106, the method further includes:
Step S602, according to the selected operation of the user on the text to be displayed, the text vector icon is displayed to the user at a specific interface.
In the embodiment of the invention, when the text vector icon is displayed, the additional information in the text vector icon should not influence the normal reading of the text. In addition to the scheme described in fig. 3, that is, the proportion information of the additional information relative to the font body structure is defined in the text vector icon information, so that when the text is displayed normally, the additional information carried in the text cannot be checked and identified by naked eyes, normal reading is not affected, after the text is enlarged, the additional information carried in the text can be clearly checked and identified, so that the effect of accurately understanding the original intention of the pen user is helped, and the effect can be achieved by selecting the text to be displayed and displaying the text vector icon at a specific interface in an enlarged manner. Specifically, when the text vector icon is read normally, the user cannot recognize the additional information with naked eyes, namely, the additional information cannot influence the normal reading of the text, and when the user has a question, the text can be selected, and at the moment, the enlarged view of the text vector icon of the text can be clearly and completely displayed at a specific interface, so that the user can acquire the additional information, and the text can be accurately understood.
As shown in fig. 7, another method for displaying additional information text according to an embodiment of the present invention is described in detail below.
In the embodiment of the present invention, the difference from the method for displaying additional information text shown in fig. 1 is that, after the step S106, the method further includes:
Step S702, determining additional information configuration file information corresponding to the text according to the selected operation of the user on the text to be displayed.
In the embodiment of the present invention, the additional information profile information includes additional information corresponding to the text, where the additional information profile information is generated by a method as provided in fig. 5.
In the embodiment of the present invention, the difference between the method and the method shown in fig. 6 is that after determining the user's selection operation on the text to be displayed, instead of displaying the text vector icon to the user at a specific interface, the method directly obtains the additional information portion associated with the text, that is, the additional information configuration file information, and further only displays the additional information corresponding to the text, without completely displaying the text vector icon.
And step S704, the additional information corresponding to the characters is displayed to the user.
In the embodiment of the invention, because the additional information is directly displayed, the additional information can be matched with other systems so as to be better understood, for example, the additional information can be connected with an automatic translation system, and the character vector icon belongs to an original text format and cannot be directly used for other systems.
Fig. 8 is a schematic structural diagram of a display device with additional information text according to an embodiment of the present invention, which is described in detail below.
In an embodiment of the present invention, the display device for additional information text includes:
the text to be displayed determining unit 810 is configured to determine the text to be displayed.
In the embodiment of the present invention, although the gist of the present invention is to make improvements to the font data structure of the vector font library from the perspective of the vector font library, these improvements are usually made in advance, and in the actual application process, the improved vector font library is usually directly utilized, that is, additional information text after improvement is directly input or displayed. The invention thus provides a step of displaying additional information text, starting from the process of application.
In the embodiment of the invention, when a user opens a file in a computer, the text in the file is the text to be displayed, and the computer needs to decode information contained in the file to output the text.
And a text vector icon information judging unit 820 for judging whether the text vector icon information with the additional information corresponding to the text to be displayed exists in the additional information vector font library.
In the embodiment of the invention, the vector font library is improved in advance, so that part of additional information characters are determined, and the character vector icon information of the additional information characters is written into the additional information vector font library. Therefore, it is necessary to determine whether an additional information text exists in the text to be displayed, that is, determine whether corresponding text vector icon information exists in the additional information vector font library, and obviously, if the corresponding text vector icon information exists in the additional information vector font library, indicate that the text to be displayed is the additional information text, and then special decoding is required to display the additional information text. And when the corresponding text vector icon information does not exist in the additional information vector font library, the text to be displayed is indicated to be the conventional display text, and the text to be displayed is displayed based on the conventional vector font library decoding mode.
In the embodiment of the invention, the additional information vector font library comprises characters and character vector icon information with additional information corresponding to the characters, namely, the additional information characters and the corresponding additional information characters are stored. Compared with the text vector icon information in the conventional vector font library, the text vector icon information with the additional information contains the additional information and the position information of the additional information relative to the font body structure besides the font body structure information, and the position information of the additional information relative to the font body structure and the additional information are decoded together with the font body structure information in the display process, and are displayed to a user together with the generation of special text vector icons.
And the text vector icon display unit 830 is configured to determine a text vector icon according to text vector icon information with additional information corresponding to the text to be displayed and display the text vector icon to a user if the determination result is yes.
In the embodiment of the present invention, it should be noted that the text vector icon information is a manner of storing text in the computer, and the text vector icon is a result of decoding the text vector icon information by the computer.
In the embodiment of the invention, the text vector icon is determined based on the text vector icon information with the additional information, and the text vector icon information with the additional information not only comprises the font body structure information, but also comprises the additional information and the position information of the additional information relative to the font body structure, so that the text vector icon not only displays a text main body, but also displays the pre-added additional information at the position of the additional information relative to the font body structure, thereby being convenient for a user to understand the text.
According to the display device for the additional information words, provided by the embodiment of the invention, the font data structure of the vector font library is expanded, the position information of the additional information relative to the font body structure is contained in addition to the font body structure information, then the word vector icon information with the additional information corresponding to the words is generated according to the additional information determined by a user and written into the additional information vector font library, when the words are required to be displayed, whether the word vector icon information with the additional information corresponding to the words to be displayed exists in the additional information vector font library can be judged, and when the word vector icon information with the additional information corresponding to the words to be displayed is judged to exist, the word vector icon of the words is determined according to the word vector icon information with the font body structure information, the additional information and the position information of the additional information relative to the font body structure and displayed to the user, and the word vector icon displayed to the user is not only contained in the word body, so that readers can understand the meaning of the displayed words conveniently according to the additional information.
FIG. 9 illustrates an internal block diagram of a computer device in one embodiment. As shown in fig. 9, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by a processor, causes the processor to implement a method of displaying additional information text. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform a method of displaying additional information text. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 9 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the display device for additional information text provided by the present application may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 9. Various program modules constituting the display means of the additional information words, such as the word determining unit 810 to be displayed, the word vector icon information judging unit 820, and the word vector icon presenting unit 830 shown in fig. 8, may be stored in the memory of the computer device. The computer program constituted by the respective program modules causes the processor to execute the steps in the method for displaying additional information text of the respective embodiments of the present application described in the present specification.
For example, the computer apparatus shown in fig. 9 may execute step S102 by the text determination unit to be displayed 810 in the display device of the additional information text as shown in fig. 8; the computer device may execute step S104 through the text vector icon information determining unit 820; the computer device text vector icon display unit 830 performs step S106.
In one embodiment, a computer device is presented, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
Determining characters to be displayed;
Judging whether text vector icon information with additional information corresponding to the text to be displayed exists in an additional information vector font library;
If the judgment result is yes, determining a text vector icon according to text vector icon information with additional information corresponding to the text to be displayed, and displaying the text vector icon to a user;
The additional information vector font library comprises characters and character vector icon information with additional information corresponding to the characters; the text vector icon information with the additional information includes font body structure information, the additional information, and position information of the additional information with respect to the font body structure.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor causes the processor to perform the steps of:
Determining characters to be displayed;
Judging whether text vector icon information with additional information corresponding to the text to be displayed exists in an additional information vector font library;
If the judgment result is yes, determining a text vector icon according to text vector icon information with additional information corresponding to the text to be displayed, and displaying the text vector icon to a user;
The additional information vector font library comprises characters and character vector icon information with additional information corresponding to the characters; the text vector icon information with the additional information includes font body structure information, the additional information, and position information of the additional information with respect to the font body structure.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (6)

1. A method for displaying additional information text, comprising:
Determining characters to be displayed;
Judging whether text vector icon information with additional information corresponding to the text to be displayed exists in an additional information vector font library;
If the judgment result is yes, determining a text vector icon according to text vector icon information with additional information corresponding to the text to be displayed, and displaying the text vector icon to a user;
the step of generating text vector icon information with additional information corresponding to the text specifically comprises the following steps:
determining the text of information to be appended according to the selection operation of a user on the text in the vector font library, and acquiring the font body structure information of the text of information to be appended;
generating a character vector icon of the information character to be added according to the font body structure information of the information character to be added; adding the additional information input by the user to the text vector icon according to the additional information input by the user and the position information of the predetermined additional information relative to the font body structure, and generating the text vector icon with the additional information corresponding to the text of the information to be added; generating text vector icon information with additional information corresponding to the text of the information to be added according to the text vector icon with additional information corresponding to the text of the information to be added;
Generating additional information configuration file information corresponding to the information text to be added according to the additional information input by the user; determining additional information configuration file information corresponding to the characters according to the selected operation of the user on the characters to be displayed; the additional information configuration file information comprises additional information corresponding to the characters; displaying the additional information corresponding to the characters to a user;
The additional information vector font library comprises characters and character vector icon information with additional information corresponding to the characters; the text vector icon information with the additional information includes font body structure information, the additional information, and position information of the additional information with respect to the font body structure.
2. The method for displaying text of additional information according to claim 1, wherein the text vector icon information with additional information further includes a proportion information of the additional information with respect to a font body structure;
generating text vector icon information with additional information corresponding to the text to be added according to the additional information input by the user, the font body structure information of the text to be added and the position information of the predetermined additional information relative to the font body structure, wherein the text vector icon information with the additional information is specifically:
And generating character vector icon information with additional information corresponding to the character to be added according to the additional information input by the user, the character body structure information of the character to be added, the position information of the predetermined additional information relative to the character body structure and the proportion information of the additional information relative to the character body structure.
3. The method for displaying additional information text according to claim 1, further comprising, after the step of determining a text vector icon from text vector icon information with additional information corresponding to the text to be displayed and presenting the text vector icon to a user:
And displaying the text vector icon to a user at a specific interface according to the selected operation of the user on the text to be displayed.
4. A display device applied to the display method of the additional information text according to any one of claims 1 to 3, characterized by comprising:
the character to be displayed determining unit is used for determining characters to be displayed;
A text vector icon information judging unit for judging whether text vector icon information with additional information corresponding to the text to be displayed exists in an additional information vector font library;
The text vector icon display unit is used for determining text vector icons according to text vector icon information with additional information corresponding to the text to be displayed and displaying the text vector icons to a user if the judgment result is yes;
the additional information vector font library comprises characters and at least one character vector icon information with additional information, wherein the at least one character vector icon information is corresponding to the characters; the text vector icon information with the additional information comprises font body structure information, the additional information and position information of the additional information relative to the font body structure.
5. A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the method of displaying additional information words as claimed in any one of claims 1 to 3.
6. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, causes the processor to carry out the steps of the method for displaying additional information words according to any one of claims 1 to 3.
CN202010994500.7A 2020-09-21 2020-09-21 Method, device, equipment and storage medium for displaying additional information characters Active CN112100980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010994500.7A CN112100980B (en) 2020-09-21 2020-09-21 Method, device, equipment and storage medium for displaying additional information characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010994500.7A CN112100980B (en) 2020-09-21 2020-09-21 Method, device, equipment and storage medium for displaying additional information characters

Publications (2)

Publication Number Publication Date
CN112100980A CN112100980A (en) 2020-12-18
CN112100980B true CN112100980B (en) 2024-08-09

Family

ID=73754818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010994500.7A Active CN112100980B (en) 2020-09-21 2020-09-21 Method, device, equipment and storage medium for displaying additional information characters

Country Status (1)

Country Link
CN (1) CN112100980B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251118C (en) * 2002-07-22 2006-04-12 梅峰 Chinese character or non-alphabetic writing implicit decoded character pattern for computer

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032367A (en) * 2000-07-14 2002-01-31 Jisedai Joho Hoso System Kenkyusho:Kk Information-adding method for supporting sentence interpretation, and sentence presenting device
CN101625848B (en) * 2009-07-28 2011-06-22 宁波新然电子信息科技发展有限公司 Realization method of vector font library oriented to embedded platform
CN101800043A (en) * 2010-02-04 2010-08-11 华为终端有限公司 Method and terminal for displaying vector font
JP5144736B2 (en) * 2010-11-10 2013-02-13 シャープ株式会社 Document generation apparatus, document generation method, computer program, and recording medium
CN102682022B (en) * 2011-03-15 2014-12-24 高静敏 Implementation method for Chinese character holographic movable character library
WO2012142730A1 (en) * 2011-04-21 2012-10-26 Xie Jingxiang Method and device for word processing
JP6124543B2 (en) * 2011-12-26 2017-05-10 キヤノン株式会社 Image processing apparatus, image processing method, image processing system, and program
US20140164900A1 (en) * 2012-12-11 2014-06-12 Microsoft Corporation Appending content with annotation
CN103902513A (en) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 Method and device for displaying fonts in terminal device
CN110675459A (en) * 2018-07-02 2020-01-10 阿里巴巴集团控股有限公司 Font generation method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251118C (en) * 2002-07-22 2006-04-12 梅峰 Chinese character or non-alphabetic writing implicit decoded character pattern for computer

Also Published As

Publication number Publication date
CN112100980A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN109712218B (en) Electronic book note processing method, handwriting reading equipment and storage medium
US8253709B2 (en) Electronic device and method for predicting word input
CN102117269B (en) Apparatus and method for digitizing documents
CN112115678B (en) Information display method and device, storage medium and electronic equipment
EP3543948A1 (en) Method for providing e-book service and computer program therefor
CN111291533B (en) Sentence segment to be displayed display method and device, computer equipment and storage medium
CN113283228A (en) Document generation method and device, electronic equipment and storage medium
CN112417899A (en) Character translation method, device, computer equipment and storage medium
CN111552903A (en) Page generation method and device based on HTML (Hypertext markup language) template and computer equipment
US20080282148A1 (en) Processing method for increasing speed of opening a word processing document
CN112100980B (en) Method, device, equipment and storage medium for displaying additional information characters
US20150169508A1 (en) Obfuscating page-description language output to thwart conversion to an editable format
CN113254131A (en) Page background display method and device
CN112596803A (en) Control string truncation checking method and device, computer equipment and storage medium
AU2019341037B2 (en) Dynamically adjusting text strings based on machine translation feedback
US20200265612A1 (en) Automatic patent drawings displaying device
CN111597151A (en) File generation method and device, computer equipment and storage medium
KR20110021714A (en) Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
CN114327435A (en) Technical document generation method and device and computer readable storage medium
KR101368610B1 (en) Method and system for selecting paragraph on electronic book environments
US9075776B2 (en) Document processing apparatus, document processing method, and program
JP2017091383A (en) Image forming apparatus, image forming method, and image forming program
KR101758098B1 (en) Electronic terminal apparatus for copying to keep the shape of the character in the pdf document and method for copying to keep the shape of the character in the pdf document of the electronic terminal apparatus
CN117391045B (en) Method for outputting file with portable file format capable of copying Mongolian
JP2013182459A (en) Information processing apparatus, information processing method, and program

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
GR01 Patent grant
GR01 Patent grant