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

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

Info

Publication number
CN112100980A
CN112100980A CN202010994500.7A CN202010994500A CN112100980A CN 112100980 A CN112100980 A CN 112100980A CN 202010994500 A CN202010994500 A CN 202010994500A CN 112100980 A CN112100980 A CN 112100980A
Authority
CN
China
Prior art keywords
information
additional information
character
characters
vector 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.)
Pending
Application number
CN202010994500.7A
Other languages
Chinese (zh)
Inventor
程罡
程大琥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN112100980A/en
Publication of CN112100980A publication Critical patent/CN112100980A/en
Pending legal-status Critical Current

Links

Images

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 suitable for the technical field of computers, and provides a display method, a device, equipment and a storage medium of additional information characters, wherein the method comprises the following steps: determining characters to be displayed; judging whether character vector icon information corresponding to characters to be displayed exists or not; and when the character vector icon exists, determining the character vector icon according to the character vector icon information and displaying the character vector icon to the 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 method for displaying the additional information characters, provided by the embodiment of the invention, when the character vector icon information corresponding to the characters to be displayed is judged to exist, the character vector icon can be determined and displayed according to the character vector icon information, and because the character vector icon information carries the additional information, the character vector icon displayed to a user at the moment also comprises the additional information, so that a reader can understand the character vector icon conveniently.

Description

Method, device and equipment for displaying additional information characters and storage medium
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
The book is an important boosting force for the globalization development of the human society. Current automated translation systems have made major advances, but are still a great distance away from accurate and unobstructed cross-language, cultural communications.
Along with the popularization of computers, the existing universal standard Chinese character library in the computer is difficult to meet the communication application of Chinese language learning and international culture at home and abroad, and many foreign readers often have difficulty in understanding the expressions of domestic pen users when reading the files of the universal standard Chinese characters in the computer, particularly the understanding of some polysemous words can be assisted only by auxiliary translation software, so that the readers are inconvenient to understand the contents of the files.
It is obvious that the characters displayed in the current universal standard Chinese character library in the computer are inconvenient for foreign readers to understand the contents.
Disclosure of Invention
The embodiment of the invention aims to provide a display method, a device, equipment and a storage medium of additional information characters, and aims to solve the technical problem that characters displayed by the existing universal 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 method for displaying the additional information characters comprises the following steps:
determining characters to be displayed;
judging whether character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library;
if so, determining a character vector icon according to character vector icon information with additional information corresponding to the character to be displayed, and displaying the character 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 character 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.
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;
the character vector icon information judging unit is used for judging whether character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library or not;
the character vector icon display unit is used for determining a character vector icon according to the character vector icon information with the additional information corresponding to the character to be displayed and displaying the character vector icon 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 corresponding to the characters; the character 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 another object of the embodiments of the present invention to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for displaying the additional information text.
It is another object of an embodiment of the present invention to provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor is enabled to execute the steps of the method for displaying the additional information text.
The method for displaying the additional information character provided by the embodiment of the invention expands the font data structure of the vector font library, comprises the font body structure information and the position information of the additional information relative to the font body structure, then generates the character vector icon information with the additional information corresponding to the character according to the additional information determined by a user, writes the character vector icon information into the additional information vector font library, can judge whether the character vector icon information with the additional information corresponding to the character to be displayed exists in the additional information vector font library when the character needs to be displayed, and determines the character vector icon of the character according to the character 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 when the character vector icon information with the additional information corresponding to the character to be displayed exists, and the character vector icon displayed to the user at this time not only contains the character body, but also contains the additional information at the position of the additional information relative to the font body structure, so that the reader can understand the meaning of the displayed character according to the additional information, and the content of the file can be conveniently understood.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for displaying additional information text according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a process of 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 of another step of generating text vector icon information with additional information according to an embodiment of the present invention;
FIG. 5 is a flowchart of another step of generating text vector icon information with additional information according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating another method for displaying additional information text according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating 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 for additional information text according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device for executing a display method of additional information text according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In consideration of the fact that the characters displayed by the existing universal standard Chinese character library are inconvenient for foreign readers to understand the contents, the requirements of foreign and domestic Chinese language learning and international culture exchange application are difficult to meet. The invention uses the vector font library as the main bottom technology to expand the current universal 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 universal 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 the new character vector icon information and form a new vector font library, the character vector icon information of the characters in the vector font library not only comprises the conventional font body structure information, but also comprises the position information of the additional information relative to the font body structure and the additional information, thereby ensuring that when a computer displays the characters, the computer can display the additional information in addition to the display of the font body, and the additional information can be convenient for readers, The user can better understand the meaning of the characters, thereby being convenient for foreign readers to understand the content and meeting the requirements of foreign and domestic Chinese learning and international cultural exchange application.
As shown in fig. 1, a flowchart of steps of a method for displaying additional information text provided in an embodiment of the present invention specifically includes the following steps:
and step S102, determining characters to be displayed.
In the embodiment of the present invention, although the main idea of the present invention is to improve 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, the improved additional information text is directly input or displayed. Therefore, the invention provides a step of displaying the additional information words from the process of application.
In the embodiment of the invention, when a user opens a file in a computer, the characters in the file are the characters to be displayed, and the computer needs to decode information contained in the file to output the characters.
And step S104, judging whether character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library. If yes, executing step S106; and when the judgment structure is negative, executing other steps.
In the embodiment of the invention, the vector font library is improved in advance, partial 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 first determine whether there is an additional information character in the character to be displayed, that is, first determine whether there is corresponding character vector icon information in the additional information vector font library, obviously, if there is corresponding character vector icon information in the additional information vector font library, it indicates that the character to be displayed is an additional information character, and at this time, it is necessary to specially decode and display the additional information character, that is, execute step S106. And when the additional information vector font library does not have corresponding character vector icon information, the character to be displayed is the conventional display character, and the character to be displayed is displayed based on the conventional vector font library decoding mode.
In the embodiment of the present invention, the additional information vector font library includes characters and character vector icon information with additional information corresponding to the characters, that is, additional information characters and corresponding additional information characters are stored. Compared with the character vector icon information in the conventional vector font library, the character vector icon information with the additional information carries font body structure information, and also comprises the additional information and the position information of the additional information relative to the font body structure, 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, generate a special character vector icon and show the special character vector icon to a user.
In the embodiment of the present invention, a process of improving vector icon information of characters in a vector font library to generate character vector icon information with additional information is specifically referred to fig. 2 and the content explained in the description thereof.
And S106, determining a character vector icon according to the character vector icon information with the additional information corresponding to the characters to be displayed, and displaying the character vector icon to a user.
In the embodiment of the present invention, it should be noted that the character vector icon information is a manner of storing characters inside the computer, and the character vector icon is a result of decoding the character vector icon information by the computer.
In the embodiment of the invention, the character vector icon is determined based on the character vector icon information with the additional information, and the character vector icon information with the additional information not only contains the font body structure information, but also contains the additional information and the position information of the additional information relative to the font body structure, so that the character vector icon not only displays the character main body, but also displays the pre-added additional information at the position of the additional information relative to the font body structure, thereby facilitating the understanding of the user to the character.
The method for displaying the additional information character provided by the embodiment of the invention expands the font data structure of the vector font library, comprises the font body structure information and the position information of the additional information relative to the font body structure, then generates the character vector icon information with the additional information corresponding to the character according to the additional information determined by a user, writes the character vector icon information into the additional information vector font library, can judge whether the character vector icon information with the additional information corresponding to the character to be displayed exists in the additional information vector font library when the character needs to be displayed, and determines the character vector icon of the character according to the character 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 when the character vector icon information with the additional information corresponding to the character to be displayed exists, and the character vector icon displayed to the user at this time not only contains the character body, but also contains the additional information at the position of the additional information relative to the font body structure, so that the reader can understand the meaning of the displayed character according to the additional information, and the content of the file can be conveniently understood.
As shown in fig. 2, a flowchart of a step of generating text vector icon information with additional information according to an embodiment of the present invention specifically includes the following steps:
step S202, determining information characters to be added according to the selection operation of the user on the characters in the vector font library, and acquiring font body structure information of the information characters to be added.
In the embodiment of the present invention, because the present invention is an improvement on the existing vector font library, a user needs to determine the vector font library first, and at this time, the computer loads the resources of the vector font library, including the font body structure information of each character in the vector font library.
In the embodiment of the present invention, further, when the user determines the vector font library, additional information needs to be added to 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 first, and obtain the font body structure information of the character to be added with information from the resources of the vector font library.
In the embodiment of the invention, in an actual process, a user can select any number of characters according to requirements 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 information character to be appended according to the additional information input by the user, the font body structure information of the information character to be appended and the position information of the predetermined additional information relative to the font body structure.
In the embodiment of the invention, because the vector font library is expanded, the character vector icon information in the vector font library can contain additional information and 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 the user.
In the embodiment of the present invention, the additional information may include one or a combination of any of information in the forms of pinyin, traditional Chinese characters, english translation, paraphrases, and the like of characters, 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, the setting may be such that pinyin is added to the top left corner of the font body, traditional Chinese characters are added to the top right corner of the font body, english translation is added to the bottom left corner of the font body, paraphrase is added to the bottom right corner of the font body, and the like. At this time, after the character to be added with information is determined, the corresponding character vector icon information with the additional information is further generated according to the additional information input by the user.
In the embodiment of the present invention, in fact, the additional information may include other arbitrarily customized additional information besides the above listed information, for example, the information of the drawing is given by sequentially giving the corresponding color to each stroke in the font according to the writing order of the stroke order and the predetermined color order, or by giving different colors to each component in the font, and in order to implement the addition of the above additional information, it is also necessary to improve the font data structure of the vector font library.
In the embodiment of the present invention, as can be seen from the explanation content of the foregoing step S106, the character vector icon information is a manner of storing characters inside the computer, and the character vector icon is a result of the computer decoding the character vector icon information. Therefore, in the specific process of actually generating the character vector icon information with additional information corresponding to the information character to be appended according to the additional information input by the user, the font body structure information of the information character to be appended, and the predetermined position information of the additional information relative to the font body structure, the character vector icon is needed, and the specific process is shown in fig. 4 and the explanation thereof.
After determining the characters needing additional information in a vector font library, expanding the character vector icon information of the characters needing additional information based on the predetermined position information of the additional information relative to the font body structure and the additional information input by a user in real time, so that the character vector icon information not only comprises the font body structure of the characters, but also comprises the additional information and the position information of the additional information relative to the font body structure, and the character vector icon comprising the additional information can be generated after decoding.
Fig. 3 is a flowchart of another step of generating text vector icon information with additional information according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the present invention, a difference from the flowchart of the step of generating the text vector icon information with additional information shown in fig. 2 is that the step S204 specifically includes:
step S302, generating character vector icon information with additional information corresponding to the character of the information to be appended according to the additional information input by the user, the font body structure information of the character of the information to be appended, 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 from the additional information described above is that the text vector icon information with additional information further includes the ratio information of the additional information with respect to the font body structure, that is, the ratio 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 influenced, and after the characters are amplified, the additional information carried in the characters can be clearly checked and identified, so that a reader is 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 can further help readers to understand the character main body, so that the character display effect is more practical.
Fig. 4 is a flowchart of another step of generating text vector icon information with additional information according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the present invention, a difference from the flowchart of the step of generating the text vector icon information with additional information shown in fig. 2 is that the step S204 specifically includes:
step S402, generating the character vector icon of the information character to be appended according to the font body structure information of the information character to be appended.
In the embodiment of the invention, the character vector icon information is a mode of storing characters in the computer, and the character vector icon is a result of decoding the character vector icon information by the computer. Therefore, in the process of specifically generating the character vector icon information with the additional information, the character vector icon needs to be utilized, specifically, the character vector icon of the character to be added with the additional information when the additional information is not added needs to be determined first, and at the moment, the character vector icon can be directly determined through the font body structure information of the character to be added with the additional information.
Step S404, adding the additional information input by the user to the character vector icon according to the additional information input by the user and the predetermined position information of the additional information relative to the font body structure, and generating a character vector icon with additional information corresponding to the information character to be added.
In the embodiment of the present invention, further, the position of the additional information to be added to the character 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 character vector icon with the additional information corresponding to the character to be added can be generated.
Step S406, generating character vector icon information with additional information corresponding to the information characters to be appended according to the character vector icon with additional information corresponding to the information characters to be appended.
In the embodiment of the present invention, further, after the character vector icon with additional information corresponding to the character to be appended is generated, the character vector icon with additional information can be converted into data recognizable by a computer through encoding, that is, the character vector icon information with additional information, so that a character vector icon carrying main character information and additional information understandable by a user can be generated according to the character vector icon information with additional information in a subsequent application process (specifically, in step S106).
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, the process of computer encoding and decoding. The character vector icon information is the computer internal language and the character vector icon is the output language.
Fig. 5 is a flowchart of another step of generating text vector icon information with additional information according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the present invention, the difference from the flowchart of the step of generating the text vector icon information with 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 information characters to be added according to the additional information input by the user.
In the embodiment of the invention, in addition to generating the character vector icon information with the additional information by combining the additional information and the font body structure, the additional information configuration file information corresponding to the characters can be generated according to the additional information. However, similarly, the additional information configuration file information also needs to be associated with the text and the text vector icon information of the text, and the additional information configuration file information associated with the text is separately generated according to the additional information, so that the computer program can directly decode the additional information according to the additional information configuration file information, thereby facilitating the subsequent application process, and specifically, refer to fig. 7 and the content explained by the same.
As shown in fig. 6, another method for displaying additional information text provided in the 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 step S106, the method further includes:
step S602, according to the selected operation of the user on the characters to be displayed, the character vector icons are displayed to the user at a specific interface.
In the embodiment of the invention, when the character vector icon is considered to be displayed, the additional information in the character vector icon should not influence the normal reading of characters. At this time, in addition to the scheme described in the foregoing fig. 3, that is, the ratio information of the additional information with respect to the font body structure is defined in the character vector icon information, so that when the character is normally displayed, the additional information carried in the character cannot be viewed and identified by naked eyes, normal reading is not affected, and after the character is enlarged, the additional information carried in the character can be clearly viewed and identified, so as to help a reader accurately understand the original effect of the writer, and the above effect can also be similarly achieved by selecting the character to be displayed and enlarging and displaying the character vector icon at a specific interface. Specifically, when the character vector icon is read normally, the user cannot recognize the additional information with naked eyes, that is, the additional information does not affect the normal reading of the character, and when the user has a question, the user can select the character, and at this time, the enlarged image of the character vector icon of the character is clearly and completely displayed at a specific interface, so that the user can acquire the additional information and accurately understand the character.
As shown in fig. 7, another method for displaying additional information text provided in the 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 step S106, the method further includes:
step S702, according to the selected operation of the user on the characters to be displayed, determining the additional information configuration file information corresponding to the characters.
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 the method as provided in fig. 5.
In the embodiment of the present invention, after determining that the user performs the selected operation on the text to be displayed, instead of displaying the text vector icon to the user at a specific interface, the method of displaying the text vector icon according to the present invention 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.
Step S704, displaying the additional information corresponding to the text 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 discourse format and cannot be directly used for other systems.
Fig. 8 is a schematic structural diagram of a display device for 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:
a to-be-displayed text determining unit 810, configured to determine a text to be displayed.
In the embodiment of the present invention, although the main idea of the present invention is to improve 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, the improved additional information text is directly input or displayed. Therefore, the invention provides a step of displaying the additional information words from the process of application.
In the embodiment of the invention, when a user opens a file in a computer, the characters in the file are the characters to be displayed, and the computer needs to decode information contained in the file to output the characters.
A character vector icon information determining unit 820, configured to determine whether there is character vector icon information with additional information corresponding to the character to be displayed in the additional information vector font library.
In the embodiment of the invention, the vector font library is improved in advance, partial 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 first determine whether there is an additional information character in the character to be displayed, that is, to first determine whether there is corresponding character vector icon information in the additional information vector font library, and obviously, if there is corresponding character vector icon information in the additional information vector font library, it indicates that the character to be displayed is an additional information character, and at this time, special decoding is required to display the additional information character. And when the additional information vector font library does not have corresponding character vector icon information, the character to be displayed is the conventional display character, and the character to be displayed is displayed based on the conventional vector font library decoding mode.
In the embodiment of the present invention, the additional information vector font library includes characters and character vector icon information with additional information corresponding to the characters, that is, additional information characters and corresponding additional information characters are stored. Compared with the character vector icon information in the conventional vector font library, the character vector icon information with the additional information carries font body structure information, and also comprises the additional information and the position information of the additional information relative to the font body structure, 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, generate a special character vector icon and show the special character vector icon to a user.
And a text vector icon display unit 830, configured to determine a text vector icon according to the text vector icon information with additional information corresponding to the text to be displayed and display the determined text vector icon to the user if the determination result is yes.
In the embodiment of the present invention, it should be noted that the character vector icon information is a manner of storing characters inside the computer, and the character vector icon is a result of decoding the character vector icon information by the computer.
In the embodiment of the invention, the character vector icon is determined based on the character vector icon information with the additional information, and the character vector icon information with the additional information not only contains the font body structure information, but also contains the additional information and the position information of the additional information relative to the font body structure, so that the character vector icon not only displays the character main body, but also displays the pre-added additional information at the position of the additional information relative to the font body structure, thereby facilitating the understanding of the user to the character.
The display device for the additional information characters provided by the embodiment of the invention expands the font data structure of the vector font library, comprises the font body structure information and the position information of the additional information relative to the font body structure, then generates the character vector icon information with the additional information corresponding to the characters according to the additional information determined by a user, writes the character vector icon information into the additional information vector font library, can judge whether the character vector icon information with the additional information corresponding to the characters to be displayed exists in the additional information vector font library when the characters need to be displayed, and determines the character vector icon of the characters according to the character 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 when the character vector icon information with the additional information corresponding to the characters to be displayed exists, and the character vector icon displayed to the user at this time not only contains the character body, but also contains the additional information at the position of the additional information relative to the font body structure, so that the reader can understand the meaning of the displayed character according to the additional information, and the content of the file can be conveniently understood.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. As shown in fig. 9, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile 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 the processor, causes the processor to implement a method of displaying additional information text. The internal memory may also store a computer program, which 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, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the display device for additional information text provided in the present application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in fig. 9. The memory of the computer device may store various program modules constituting the display device of the additional information character, such as the character determining unit 810 to be displayed, the character vector icon information judging unit 820, and the character vector icon presenting unit 830 shown in fig. 8. The computer program constituted by the respective program modules causes the processor to execute the steps in the display method of the 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 to-be-displayed character determining unit 810 in the display device of the additional information character as shown in fig. 8; the computer apparatus may perform step S104 through the text vector icon information determination unit 820; the computer device text vector icon presenting unit 830 performs step S106.
In one embodiment, a computer device is proposed, 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 character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library;
if so, determining a character vector icon according to character vector icon information with additional information corresponding to the character to be displayed, and displaying the character 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 character 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.
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 character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library;
if so, determining a character vector icon according to character vector icon information with additional information corresponding to the character to be displayed, and displaying the character 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 character 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 should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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 DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for displaying additional information text, comprising:
determining characters to be displayed;
judging whether character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library;
if so, determining a character vector icon according to character vector icon information with additional information corresponding to the character to be displayed, and displaying the character 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 character 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.
2. The method for displaying additional information text according to claim 1, wherein the step of generating text vector icon information with additional information corresponding to the text specifically includes:
determining information characters to be appended according to the selection operation of a user on characters in a vector font library, and acquiring font body structure information of the information characters to be appended;
generating character vector icon information with additional information corresponding to the information character to be appended according to the additional information input by the user, the font body structure information of the information character to be appended and the position information of the predetermined additional information relative to the font body structure.
3. The method for displaying additional information text according to claim 2, wherein the text vector icon information with additional information further includes scale information of the additional information with respect to the font body structure;
the step of generating character vector icon information with additional information corresponding to the additional information characters according to the additional information input by the user, the font body structure information of the information characters to be added and the predetermined position information of the additional information relative to the font body structure specifically comprises:
and generating character vector icon information with additional information corresponding to the information characters to be appended according to the additional information input by the user, the font body structure information of the information characters to be appended, 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.
4. The method for displaying additional information text according to claim 2, wherein the step of generating text vector icon information with additional information corresponding to the additional information text according to the additional information input by the user, the font body structure information of the information text to be added, and the predetermined position information of the additional information relative to the font body structure specifically comprises:
generating the character vector icon of the information character to be appended according to the font body structure information of the information character to be appended;
adding the additional information input by the user to the character vector icon according to the additional information input by the user and the predetermined position information of the additional information relative to the font body structure, and generating a character vector icon with the additional information corresponding to the character to be added;
and generating character vector icon information with additional information corresponding to the information characters to be appended according to the character vector icon with additional information corresponding to the information characters to be appended.
5. The method for displaying additional information text according to claim 2, wherein after the step of determining the text to be added according to the selection operation of the user on the text in the vector font library and acquiring the font ontology structure information of the text to be added, the method further comprises:
and generating additional information configuration file information corresponding to the information words to be added according to the additional information input by the user.
6. The method for displaying additional information text according to claim 1, wherein after the step of determining the text vector icon according to the text vector icon information with additional information corresponding to the text to be displayed and displaying the determined text vector icon to the user, the method further comprises:
and displaying the character vector icon to the user at a specific interface according to the selected operation of the user on the characters to be displayed.
7. The method for displaying additional information text according to claim 1, wherein after the step of determining the text vector icon according to the text vector icon information with additional information corresponding to the text to be displayed and displaying the determined text vector icon to the user, the method further comprises:
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;
and displaying the additional information corresponding to the characters to the user.
8. A display device for displaying additional information text, comprising:
the character to be displayed determining unit is used for determining characters to be displayed;
the character vector icon information judging unit is used for judging whether character vector icon information with additional information corresponding to the characters to be displayed exists in an additional information vector font library or not;
the character vector icon display unit is used for determining a character vector icon according to the character vector icon information with the additional information corresponding to the character to be displayed and displaying the character vector icon 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 corresponding to the characters; the character 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.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of displaying additional information text as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the method of displaying an additional information text according to any one of claims 1 to 7.
CN202010994500.7A 2020-09-21 2020-09-21 Method, device and equipment for displaying additional information characters and storage medium Pending CN112100980A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN112100980A true CN112100980A (en) 2020-12-18

Family

ID=73754818

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112100980A (en)

Citations (11)

* 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
CN1251118C (en) * 2002-07-22 2006-04-12 梅峰 Chinese character or non-alphabetic writing implicit decoded character pattern for computer
CN101625848A (en) * 2009-07-28 2010-01-13 宁波新然电子信息科技发展有限公司 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
CN102592299A (en) * 2010-11-10 2012-07-18 夏普株式会社 Document generating apparatus and document generating method
CN102682022A (en) * 2011-03-15 2012-09-19 高静敏 Implementation method for Chinese character holographic movable character library and operation of Chinese character holographic movable character library
WO2012142730A1 (en) * 2011-04-21 2012-10-26 Xie Jingxiang Method and device for word processing
CN103902513A (en) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 Method and device for displaying fonts in terminal device
CN104011787A (en) * 2011-12-26 2014-08-27 佳能株式会社 Image processing apparatus, control method for the same, image processing system, and program
CN105144148A (en) * 2012-12-11 2015-12-09 微软技术许可有限责任公司 Appending content with annotation
CN110675459A (en) * 2018-07-02 2020-01-10 阿里巴巴集团控股有限公司 Font generation method, device and system

Patent Citations (11)

* 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
CN1251118C (en) * 2002-07-22 2006-04-12 梅峰 Chinese character or non-alphabetic writing implicit decoded character pattern for computer
CN101625848A (en) * 2009-07-28 2010-01-13 宁波新然电子信息科技发展有限公司 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
CN102592299A (en) * 2010-11-10 2012-07-18 夏普株式会社 Document generating apparatus and document generating method
CN102682022A (en) * 2011-03-15 2012-09-19 高静敏 Implementation method for Chinese character holographic movable character library and operation of Chinese character holographic movable character library
WO2012142730A1 (en) * 2011-04-21 2012-10-26 Xie Jingxiang Method and device for word processing
CN104011787A (en) * 2011-12-26 2014-08-27 佳能株式会社 Image processing apparatus, control method for the same, image processing system, and program
CN105144148A (en) * 2012-12-11 2015-12-09 微软技术许可有限责任公司 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

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
TAN H N ET AL.: "Technology of displaying Chinese and western characters based on LCM and font chip", 《INFORMATION TECHNOLOGY》, 31 August 2012 (2012-08-31) *
余志林: "一种基于AutoCAD矢量字体文件扩充专用字符的方法及其应用", 《东华大学学报(自然科学版)》, vol. 37, no. 4, 31 August 2011 (2011-08-31) *
邓彬伟;: "矢量字库的设计与实现", 计算机与现代化, no. 04, 28 April 2006 (2006-04-28) *

Similar Documents

Publication Publication Date Title
CN109801347B (en) Method, device, equipment and medium for generating editable image template
CN109712218B (en) Electronic book note processing method, handwriting reading equipment and storage medium
US8798366B1 (en) Electronic book pagination
US8209600B1 (en) Method and apparatus for generating layout-preserved text
JPH10105361A (en) Method and system for specifying object
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
CN113515928B (en) Electronic text generation method, device, equipment and medium
CN109766072A (en) Information checking input method, device, computer equipment and storage medium
US7793224B1 (en) Methods and apparatus for formatting identified content
CN103605502A (en) Form page display method and server
CN109933751B (en) Image-text drawing method and device, computer-readable storage medium and computer equipment
CN113283228A (en) Document generation method and device, electronic equipment and storage medium
US20150169508A1 (en) Obfuscating page-description language output to thwart conversion to an editable format
US7757165B1 (en) Method and system for deriving and matching local formatting in an electronic document
CN112596803A (en) Control string truncation checking method and device, computer equipment and storage medium
CN112100980A (en) Method, device and equipment for displaying additional information characters and storage medium
CN111597151A (en) File generation method and device, computer equipment and storage medium
JP2017091383A (en) Image forming apparatus, image forming method, and image forming program
CN117391045B (en) Method for outputting file with portable file format capable of copying Mongolian
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
CN111198858A (en) File processing method and device, computer storage medium and terminal
JPH1186017A (en) Apparatus and method for information processing
KR100842107B1 (en) Device and method for document display in a portable information terminal
CN114780095B (en) Off-screen rendering method and device, printing method, computing device and storage medium

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