CN111986631B - Character display method, device, system and storage medium - Google Patents

Character display method, device, system and storage medium Download PDF

Info

Publication number
CN111986631B
CN111986631B CN201910433034.2A CN201910433034A CN111986631B CN 111986631 B CN111986631 B CN 111986631B CN 201910433034 A CN201910433034 A CN 201910433034A CN 111986631 B CN111986631 B CN 111986631B
Authority
CN
China
Prior art keywords
display area
character
width
target
dot matrix
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
CN201910433034.2A
Other languages
Chinese (zh)
Other versions
CN111986631A (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201910433034.2A priority Critical patent/CN111986631B/en
Publication of CN111986631A publication Critical patent/CN111986631A/en
Application granted granted Critical
Publication of CN111986631B publication Critical patent/CN111986631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a character display method, a character display system, a character display device and a storage medium, wherein the character display method comprises the following steps: setting initial position coordinates of characters to be displayed in a display screen; acquiring the width of an initial display area and the height of a target display area corresponding to the character to be displayed; comparing the initial display area width with a display area width threshold value, and obtaining a target display area width according to the comparison result; and displaying the character to be displayed in the display screen according to the initial position coordinate, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the character to be displayed.

Description

Character display method, device, system and storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a character display method, a character display apparatus, a character display system, and a storage medium.
Background
In the early days, typewriters and computer monitors used by people could not adjust the letter width in proportion due to technical limitations, so that each character was designed to have the same width to form a character with the same width, and the design is kept in English all the time later.
The equal-width font has the following display advantages: the characters are more beautiful, and the eyes are more comfortable; secondly, in programming, the use of the same width characters of the codes can enable people to easily find the stroke errors; the characters with the same width are used, the texts are aligned, and when the editor gives error information, the text can be easily corresponding to a certain column, so that debugging is convenient; and fourthly, the font with the same width is convenient to position, and the specified coordinate can obtain the position immediately.
However, in the font with the same width, some letters such as i and j appear to have more margin on both sides, while strokes of the letters w and m appear to be crowded, and the display is very unnatural in some high-density and high-pixel display screens, and cannot meet the requirements of customers. Moreover, many characters of european characters are naturally different in width, and how to reasonably display the characters on a display screen becomes an important problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a character display method, a character display device and a character display system, and can realize that: the display is carried out according to the actual pixel width occupied by each character, so that the display effect is more reasonable and attractive; and/or the space of each character can be adjusted and can be displayed according to the actual requirement of a user.
In one aspect, an embodiment of the present invention provides a character display method, including: setting initial position coordinates of characters to be displayed in a display screen; acquiring the width of an initial display area and the height of a target display area corresponding to the character to be displayed; comparing the initial display area width with a display area width threshold value, and obtaining a target display area width according to the comparison result; and displaying the character to be displayed in the display screen according to the initial position coordinate, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the character to be displayed.
In an embodiment of the present invention, the step of comparing the initial display region width with a display region width threshold and obtaining a target display region width according to a result of the comparison includes: if the initial display area width is smaller than the display area width threshold, taking the display area width threshold as the target display area width; and if the initial display area width is larger than or equal to the display area width threshold, taking the initial display area width as the target display area width.
In an embodiment of the present invention, the step of obtaining the initial display area width and the target display area height corresponding to the character to be displayed includes: acquiring corresponding dot matrix data of the character to be displayed in a dot matrix with a specified width and a specified height; generating a dot matrix array according to the dot matrix data, wherein the dot matrix array comprises the width of the initial display area corresponding to the character to be displayed; reading the initial display area width of the character to be displayed in the dot matrix array; and taking the specified height as the target display area height.
In an embodiment of the present invention, the step of obtaining the dot matrix data corresponding to the character to be displayed in the dot matrix with the specified width and the specified height includes: and acquiring the corresponding dot matrix data of the character to be displayed in the dot matrix with the specified width and the specified height by using a word stock generation tool.
In an embodiment of the present invention, the step of generating a lattice array according to the lattice data includes: taking the actual occupied width of the character to be displayed in the dot matrix with the designated width and the designated height as the width of the initial display area; calculating a quotient of the size of the dot matrix data and the size of the specified byte, and rounding the quotient upwards to obtain a target multiple; and obtaining the dot matrix array according to the width of the initial display area and the target multiple.
In an embodiment of the present invention, the dot matrix data corresponding to different characters to be displayed have different byte sizes, and the dot matrix arrays corresponding to different characters to be displayed have the same byte size.
In an embodiment of the present invention, the step of displaying the character to be displayed in the display screen according to the starting position coordinate, the width of the target display area, the height of the target display area, and the dot matrix data corresponding to the character to be displayed includes: taking the initial position coordinate corresponding to the character to be displayed as a target position coordinate; and sequentially taking each bit of the dot matrix data corresponding to the character to be displayed as a target bit and executing the following processes: displaying a color corresponding to a value of the target bit at the target position coordinate point of the display screen; the abscissa of the target position coordinate is increased by 1; repeating the two steps; and when the abscissa of the target position coordinate is equal to the sum of the abscissa of the starting position coordinate and the width of the target display area, increasing the ordinate of the target position coordinate by 1 by self, and updating the abscissa of the target position coordinate into the abscissa of the starting position coordinate.
In an embodiment of the present invention, the displaying a color corresponding to the value of the target bit at the target position coordinate point on the display screen specifically includes: when the value of the target bit is a first value, displaying a first color at the target position coordinate point of the display screen; and when the value of the target bit is a second value, displaying a second color at the target position coordinate point of the display screen.
In one embodiment of the present invention, the character display method further includes: and if the position of the initial position coordinate in the display screen is in the rightmost column of the display screen, adjusting the initial position coordinate to the initial position of the next line.
In another aspect, an embodiment of the present invention provides a character display apparatus, including: the starting position coordinate setting module is used for setting the starting position coordinate of the character to be displayed in the display screen; an initial display area width and target display area height obtaining module, configured to obtain an initial display area width and a target display area height corresponding to the character to be displayed; the target display area width acquisition module is used for comparing the initial display area width with a display area width threshold value and obtaining the target display area width according to the comparison result; and the character display module is used for displaying the characters to be displayed in the display screen according to the initial position coordinates, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the characters to be displayed.
In an embodiment of the present invention, the module for obtaining the width of the initial display area and the height of the target display area specifically includes: the dot matrix data acquisition unit is used for acquiring the corresponding dot matrix data of the character to be displayed in a dot matrix with a specified width and a specified height; the dot matrix array generating unit is used for generating a dot matrix array according to the dot matrix data, wherein the dot matrix array comprises the width of the initial display area corresponding to the character to be displayed; an initial display area width reading unit, configured to read the initial display area width of the character to be displayed in the dot matrix array; and a target display area height acquisition unit configured to take the specified height as the target display area height.
In an embodiment of the present invention, the lattice array generating unit is specifically configured to: taking the actual occupied width of the character to be displayed in the dot matrix with the designated width and the designated height as the width of the initial display area; calculating a quotient of the size of the dot matrix data and the size of the specified byte, and rounding the quotient upwards to obtain a target multiple; and obtaining the dot matrix array according to the width of the target display area and the target multiple.
In an embodiment of the present invention, the character display module is specifically configured to: taking the initial position coordinate corresponding to the character to be displayed as a target position coordinate; and sequentially taking each bit of the dot matrix data corresponding to the character to be displayed as a target bit and executing the following processes: displaying a color corresponding to a value of the target bit at the target position coordinate point of the display screen; the abscissa of the target position coordinate is increased by 1; repeating the two steps until the abscissa of the target display position coordinate is equal to the sum of the abscissa of the starting position coordinate and the width of the target display area, increasing the ordinate of the target position coordinate by 1 by self, and updating the abscissa of the target position coordinate into the abscissa of the starting position coordinate.
In another aspect, an embodiment of the present invention provides a character display system, including: a microcontroller for executing the character display method according to any one of the preceding embodiments; and the display screen is connected with the microcontroller and is used for displaying the characters to be displayed.
In another aspect, an embodiment of the present invention provides a character display system, including: a memory and one or more processors coupled to the memory, the memory storing at least one instruction executable by the processors, the processors executing the instruction to implement the character display method according to any of the preceding embodiments.
In a further aspect, an embodiment of the present invention provides a storage medium, which stores a computer-readable program, where the computer-readable program is used for a computer to execute the character display method according to any one of the foregoing embodiments.
The embodiment of the invention can be realized by the character display method, the character display device, the character display system and the storage medium, wherein the character display method comprises the following steps: the display is carried out according to the actual pixel width occupied by each character, so that the display effect is more reasonable and attractive; and/or the space of each character can be adjusted, and the technical effect of displaying can be achieved according to the actual requirements of users.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a schematic diagram of a lattice of Chinese characters;
FIG. 1b is a schematic diagram of an English word Wide showing effect;
FIG. 2 is a flow chart illustrating a character display method 100 according to a first embodiment of the present invention;
FIG. 3a is a schematic structural diagram of a character display system according to a second embodiment of the present invention;
FIG. 3b is a schematic diagram showing the display effect of a Song body with fonts of equal width;
FIGS. 3c, 3d, and 3e are schematic diagrams of display effects of an Arial font with a non-uniform width;
FIG. 3f is a schematic diagram showing the comparison between the display effect of the Arial font with the uniform width font and the song body with the non-uniform width font;
FIG. 4 is a block diagram of a character display apparatus according to a third embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a character display system according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a storage medium according to a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Generally, the dot matrix data of each character in the font with the same width constitutes a font library according to a certain rule (for example, from left to right, from top to bottom, with the data storage high order being at the front), and in the font library, the size of the space occupied by each character is fixed (for example, the height is 16 × the width is 8, and the size occupies 16 bytes).
The following introduces the principles of the following lattice word library:
firstly, it should be understood that the lattice word stock is a data file, and lattice data of all characters are stored in the data file. As to what is the dot matrix, such as an electronic dictionary like "Wenquxing", the Chinese characters displayed on the liquid crystal display can clearly see the trace of the "dot matrix". In addition, in the field of LED (Light Emitting Diode) display, "dot matrix" is more obvious, and the displayed characters are composed of an LED lamp on an LED module, and are also on a PC (personal computer), except that the display resolution of the PC display is higher, which is higher than that of the PC display, so that the trace of the "dot matrix" is not obvious.
The three concepts of lattice, matrix and bitmap are connected in nature, and are synonyms to some extent. A dot matrix is essentially a monochrome bitmap that uses a bit to represent a dot, and if the bit is 0, it indicates that there is no dot in a certain position, and if the bit is 1, it indicates that there is a dot in a certain position. The matrix is in inseparable connection with the bitmap, and the matrix is a mathematical abstraction of the bitmap and is a two-dimensional array. A bitmap is a two-dimensional array in which the data at the (x, y) position represents the color value of the original image after sample quantization. On the other hand, however, the problem is faced with the fact that the storage of data in a computer is one-dimensional, linear. Therefore, it is necessary to linearize the two-dimensional data into one dimension. It is common practice to store two-dimensional data in line-order, thus linearizing to one dimension.
Then what is the data storage details of the lattice word? For example, a 16-by-16 dot matrix, that is, each row has 16 dots, since a dot is represented by one bit, if the value of the bit is 1, the dot is represented at the position, and if the value of the bit is 0, the dot is not represented at the position, then a row needs 16 bits, and 8 bits are a byte, that is, two bytes are needed for storing data of a row in the dot matrix. The data of the first eight dots of the first row is stored in the first byte of the dot matrix data, the data of the last eight dots of the first row is stored in the second byte of the dot matrix data, the data of the first eight dots of the second row is stored in the third byte of the dot matrix data, … …, and so on for the following. This calculates a total of 32 bytes required to store a dot matrix. Looking at this graphical example as shown in fig. 1a, it can be seen that this is a lattice of "chinese" words, although the style of text is not very effective. The lattice data for this lattice can be written according to the above principle: 0x40,0x 08,0x 37, 0xfc, 0x10, 0x08 and …, and the data of each dot matrix is stored in the dot matrix library in this way.
There is of course an irregular dot matrix, where the irregular refers to a dot matrix whose width is not a multiple of 8, such as a 12 x12 dot matrix, and the first 8 dots of each row of the dot matrix data are stored in a byte, and the remaining 4 dots of each row are stored using a byte, that is, the remaining 4 dots occupy the upper 4 bits of a byte, and the lower 4 bits of the byte are not used, and all are zero by default. This is somewhat wasteful but allows for ease of storage and addressing. For other irregular lattices, the treatment is carried out according to the principle. This can result in the number of bytes occupied by an m x n lattice being (m +7)/8 x n.
Because each character occupies the same size in the word stock, when the character needs to be displayed on the display screen, the dot matrix data of the character can be taken only from the designated position in the word stock, and then each bit of the character is processed according to the dot matrix data, and the operation is not performed when the character is 1 and 0. The desired character may eventually be displayed.
1. The font with the same width is commonly used in China, such as a Song style, a regular script and a black body, wherein some letters, such as i and j, are more left white on two sides, and strokes of the letters w and m are quite crowded;
2. the fonts of western language characters are generally non-equal-width fonts, and the prior art cannot realize reasonable display of the non-equal-width fonts, so that the western language characters are not suitable for many occasions.
Fig. 1b shows a display effect of the prior art for an english word wide. Therefore, how to reasonably display the english characters with unequal-width fonts on a display screen such as a liquid crystal display screen or an LED display screen is a technical problem to be solved by the embodiment of the present invention. Specific embodiments of the present invention are described in detail below.
First embodiment
As shown in fig. 2, a first embodiment of the present invention provides a character display method 100, which mainly includes:
step S130: and setting the initial position coordinates of the characters to be displayed in the display screen.
Step S140: and acquiring the width of an initial display area and the height of a target display area corresponding to the character to be displayed.
Step S150: and comparing the initial display area width with a display area width threshold value, and obtaining the target display area width according to the comparison result. Of course, the display area width threshold may be set in advance or may be set in real time. Specifically, the display area width threshold may be stored locally in advance or set in real time through an external device such as a key.
Step S160: and displaying the character to be displayed in the display screen according to the initial position coordinate, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the character to be displayed.
Specifically, step S150 includes, for example: if the initial display area width is smaller than the display area width threshold, taking the display area width threshold as the target display area width; and if the initial display area width is larger than or equal to the display area width threshold, taking the initial display area width as the target display area width. Specifically, the display area width threshold is, for example, 8 bits.
Specifically, step S140 includes, for example:
acquiring corresponding dot matrix data of the character to be displayed in a dot matrix with a specified width and a specified height;
generating a dot matrix array according to the dot matrix data, wherein the dot matrix array comprises the width of the initial display area corresponding to the character to be displayed;
reading the initial display area width of the character to be displayed in the dot matrix array; and
and taking the specified height as the height of the target display area.
The step S140 of obtaining the dot matrix data corresponding to the character to be displayed in the dot matrix with the designated width and the designated height specifically includes, for example: and acquiring the corresponding dot matrix data of the character to be displayed in the dot matrix with the specified width and the specified height by using a word stock generation tool. Specifically, the word stock generation tool is, for example, a GuiTool word stock generation tool. GuiTool is a convenient and easy-to-use dot matrix word stock generation tool, and the software can help a user to perform embedding requiring dot matrix character display and picture resource display, can easily convert any font, any dot matrix size and various codes, and supports various output file formats (such as Bin/Bdf/Txt/Bmp). The step in step S140 of generating a dot matrix array according to the dot matrix data specifically includes, for example: taking the actual occupied width of the character to be displayed in the dot matrix with the designated width and the designated height as the width of the initial display area; calculating a quotient of the size of the dot matrix data and the size of the specified byte, and rounding the quotient upwards to obtain a target multiple; and obtaining the dot matrix array according to the width of the initial display area and the target multiple. Specifically, the specified width is, for example, equal to the specified height, and the specified byte size is, for example, equal to the specified width or the specified height.
Specifically, the dot matrix data corresponding to different characters to be displayed have different byte sizes, for example, and the dot matrix arrays corresponding to different characters to be displayed have the same byte size, for example.
Specifically, step S160 includes, for example:
taking the initial position coordinate corresponding to the character to be displayed as a target position coordinate; and
sequentially taking each bit of the dot matrix data corresponding to the character to be displayed as a target bit and executing the following processes:
displaying a color corresponding to a value of the target bit at the target position coordinate point of the display screen;
the abscissa of the target position coordinate is increased by 1;
repeating the two steps; and when the abscissa of the target display position coordinate is equal to the sum of the abscissa of the starting position coordinate and the width of the target display area, increasing the ordinate of the target position coordinate by 1 by self, and updating the abscissa of the target position coordinate into the abscissa of the starting position coordinate.
Specifically, the displaying a color corresponding to the value of the target bit at the target position coordinate point on the display screen specifically includes: when the value of the target bit is a first value, displaying a first color at the target position coordinate point of the display screen; and when the value of the target bit is a second value, displaying a second color at the target position coordinate point of the display screen.
Further, the character display method 100, for example, further includes the steps of: and judging whether the position of the initial position coordinate in the display screen is proper or not, and if not, adjusting the initial position coordinate to be a proper value. Specifically, the step may include, for example: and if the position of the initial position coordinate in the display screen is in the rightmost column of the display screen, adjusting the initial position coordinate to the initial position of the next line. This step may also include, for example: and if the position of the initial position coordinate in the display screen is at the vertex of the lower right corner of the display screen, namely the end of one page of picture, the initial position of the next line is the position of the initial of the next page of picture, namely the vertex of the upper left corner of the display screen. This step is performed, for example, after step S130 and before step S160.
According to the character display method 100 of the first embodiment, display can be achieved according to the actual pixel width occupied by each character, and the display effect is more reasonable and attractive; and/or the space of each character can be adjusted, and the technical effect of displaying can be achieved according to the actual requirements of users.
Second embodiment
As shown in fig. 3a, a second embodiment of the present invention provides a character display system 200, comprising: a Microcontroller (MCU) 210 and a display screen 230.
The microcontroller 210 is configured to execute the character display method 100 according to the first embodiment. For details of the functions and implementation of the character display method 100, reference is made to the description of the first embodiment, which is not repeated herein.
The display screen 230 is connected to the microcontroller 210, and is used for displaying the characters to be displayed. The embodiment of the present invention does not explain how the microcontroller 210 drives the display screen 230 for displaying, which is a mature prior art, and the detailed implementation details can refer to the related examples in the prior art.
Of course, other peripheral devices, such as a key, may be added to the character display system 200, and functions such as setting parameters or controlling the operation of the system may be implemented by the key.
The display 230 is, for example, a liquid crystal display.
The microcontroller 210 according to the embodiment of the present invention also has the above-mentioned advantages of the character display method 100 because it is used for executing the character display method 100 according to the first embodiment of the present invention and completes the display of the characters together with the display screen 230.
The following will take the display of the characters of the unequal-width font Arial as an example, and will describe the display principle of the characters of the unequal-width font Arial on the display screen 230 in detail in conjunction with the first embodiment and the second embodiment:
the microcontroller 210 uses, for example, a chip of model STM32F103, the display screen 230 uses, for example, a chip of model ST7735S, and the font size of the unequal-width font Arial font is 12 × 12, for example, so that the designated width and the designated height of the corresponding dot matrix are 12 and 12, respectively.
The lattice data of 97 common characters are commonly contained in the lattice data of generating the english characters in the Arial font by using a lattice character library generating tool such as GuiTool, and it is noted here that: the size of the lattice data of the non-uniform-width font generated by the lattice word stock generation tool is different, and in order to facilitate programming calculation, the embodiment of the present invention adjusts the generated lattice data of the non-uniform-width font, for example, each character is uniformly represented by 26 bytes, where the first byte represents the actually occupied width or actual width of the character, and the second byte represents that the character requires lattice data with a length several times of 12 bytes to represent, so as to obtain the lattice array asc2_1212[ ]shownbelow.
uint8_t asc2_1212[]=
{0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/", character with a serial number of 0, that is, the 1 st character ×
0x03,0x01,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/"! ", the character with the sequence number 1, i.e. the 2 nd character +
0x04,0x01,0x00,0xa0,0xa0,0xa0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/"and" ", a character with a sequence number of 2, that is, a 3 rd character
0x07,0x02,0x00,0x00,0x24,0x00,0x24,0x00,0xfe,0x00,0x24,0x00,0x28,0x00,0xfe,0x00,0x48,0x00,0x48,0x00,0x48,0x00,0x00,0x00,0x00,0x00,/*"#",3*/
0x07,0x01,0x00,0x38,0x54,0x50,0x50,0x38,0x14,0x54,0x54,0x38,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"$",4*/
0x0b,0x02,0x00,0x00,0x31,0x00,0x4a,0x00,0x4a,0x00,0x4c,0x00,0x35,0x80,0x06,0x40,0x0a,0x40,0x0a,0x40,0x11,0x80,0x00,0x00,0x00,0x00,/*"%",5*/
0x08,0x01,0x00,0x18,0x24,0x24,0x28,0x30,0x4a,0x44,0x46,0x39,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"&",6*/
0x02,0x01,0x00,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"'",7*/
0x04,0x01,0x00,0x10,0x20,0x20,0x40,0x40,0x40,0x40,0x40,0x20,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"(",8*/
0x04,0x01,0x00,0x80,0x40,0x40,0x20,0x20,0x20,0x20,0x20,0x40,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*")",9*/
0x05,0x01,0x00,0x20,0xf8,0x20,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"*",10*/
0x07,0x01,0x00,0x00,0x00,0x10,0x10,0x7c,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"+",11*/
0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*",",12*/
0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"-",13*/
0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*".",14*/
0x03,0x01,0x00,0x20,0x20,0x40,0x40,0x40,0x40,0x40,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"/",15*/
0x07,0x01,0x00,0x38,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"0",16*/
0x07,0x01,0x00,0x10,0x30,0x50,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"1",17*/
0x07,0x01,0x00,0x38,0x44,0x04,0x04,0x08,0x08,0x10,0x20,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"2",18*/
0x07,0x01,0x00,0x38,0x44,0x04,0x04,0x18,0x04,0x04,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"3",19*/
0x07,0x01,0x00,0x08,0x18,0x18,0x28,0x28,0x48,0x7c,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"4",20*/
0x07,0x01,0x00,0x3c,0x20,0x40,0x78,0x44,0x04,0x04,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"5",21*/
0x07,0x01,0x00,0x38,0x44,0x40,0x58,0x64,0x44,0x44,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"6",22*/
0x07,0x01,0x00,0x7c,0x08,0x08,0x10,0x10,0x10,0x20,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"7",23*/
0x07,0x01,0x00,0x38,0x44,0x44,0x44,0x38,0x44,0x44,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"8",24*/
0x07,0x01,0x00,0x38,0x44,0x44,0x44,0x4c,0x34,0x04,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"9",25*/
0x03,0x01,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*":",26*/
0x03,0x01,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*";",27*/
0x07,0x01,0x00,0x00,0x00,0x04,0x38,0x40,0x38,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"<",28*/
0x07,0x01,0x00,0x00,0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"=",29*/
0x07,0x01,0x00,0x00,0x00,0x40,0x38,0x04,0x38,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*">",30*/
0x07,0x01,0x00,0x38,0x44,0x44,0x04,0x08,0x10,0x10,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"?",31*/
0x0c,0x02,0x07,0x80,0x18,0x60,0x20,0x20,0x26,0x90,0x49,0x90,0x51,0x10,0x51,0x10,0x51,0x20,0x4f,0xc0,0x20,0x10,0x10,0x60,0x0f,0x80,/*"@",32*/
0x07,0x01,0x00,0x10,0x28,0x28,0x28,0x44,0x7c,0x44,0x82,0x82,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"A",33*/
0x08,0x01,0x00,0x7c,0x42,0x42,0x42,0x7e,0x42,0x42,0x42,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"B",34*/
0x09,0x02,0x00,0x00,0x1c,0x00,0x22,0x00,0x41,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x41,0x00,0x22,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,/*"C",35*/
0x09,0x02,0x00,0x00,0x7c,0x00,0x42,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x42,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,/*"D",36*/
0x08,0x01,0x00,0x7e,0x40,0x40,0x40,0x7e,0x40,0x40,0x40,0x7e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"E",37*/
0x07,0x01,0x00,0x7c,0x40,0x40,0x40,0x78,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"F",38*/
0x09,0x02,0x00,0x00,0x1c,0x00,0x22,0x00,0x41,0x00,0x40,0x00,0x47,0x00,0x41,0x00,0x41,0x00,0x22,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,/*"G",39*/
0x09,0x02,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x7f,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x00,0x00,/*"H",40*/
0x03,0x01,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"I",41*/
0x06,0x01,0x00,0x08,0x08,0x08,0x08,0x08,0x08,0x88,0x88,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"J",42*/
0x08,0x01,0x00,0x41,0x42,0x44,0x48,0x50,0x68,0x44,0x42,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"K",43*/
0x07,0x01,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x7e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"L",44*/
0x09,0x02,0x00,0x00,0x41,0x00,0x63,0x00,0x63,0x00,0x55,0x00,0x55,0x00,0x55,0x00,0x55,0x00,0x49,0x00,0x49,0x00,0x00,0x00,0x00,0x00,/*"M",45*/
0x09,0x02,0x00,0x00,0x41,0x00,0x61,0x00,0x51,0x00,0x51,0x00,0x49,0x00,0x45,0x00,0x45,0x00,0x43,0x00,0x41,0x00,0x00,0x00,0x00,0x00,/*"N",46*/
0x09,0x02,0x00,0x00,0x1c,0x00,0x22,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x22,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,/*"O",47*/
0x08,0x01,0x00,0x7c,0x42,0x42,0x42,0x7c,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"P",48*/
0x09,0x02,0x00,0x00,0x1c,0x00,0x22,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x4d,0x00,0x22,0x00,0x1d,0x00,0x00,0x00,0x00,0x00,/*"Q",49*/
0x09,0x02,0x00,0x00,0x7e,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x7e,0x00,0x44,0x00,0x42,0x00,0x42,0x00,0x41,0x00,0x00,0x00,0x00,0x00,/*"R",50*/
0x08,0x01,0x00,0x3c,0x42,0x42,0x40,0x3c,0x02,0x42,0x42,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"S",51*/
0x07,0x01,0x00,0xfe,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"T",52*/
0x09,0x02,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x22,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,/*"U",53*/
0x07,0x01,0x00,0x82,0x82,0x44,0x44,0x44,0x28,0x28,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"V",54*/
0x0b,0x02,0x00,0x00,0x84,0x20,0x8a,0x20,0x8a,0x40,0x4a,0x40,0x51,0x40,0x51,0x40,0x51,0x40,0x20,0x80,0x20,0x80,0x00,0x00,0x00,0x00,/*"W",55*/
0x07,0x01,0x00,0x82,0x44,0x44,0x28,0x10,0x28,0x44,0x44,0x82,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"X",56*/
0x07,0x01,0x00,0x82,0x44,0x44,0x28,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"Y",57*/
0x07,0x01,0x00,0x7e,0x04,0x08,0x08,0x10,0x20,0x20,0x40,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"Z",58*/
0x03,0x01,0x00,0x60,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"[",59*/
0x03,0x01,0x00,0x80,0x80,0x40,0x40,0x40,0x40,0x40,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"\",60*/
0x03,0x01,0x00,0xc0,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"]",61*/
0x05,0x02,0x00,0x00,0x20,0x00,0x60,0x00,0x50,0x00,0x50,0x00,0x98,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"^",62*/
0x07,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"_",63*/
0x04,0x01,0x00,0x40,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"`",64*/
0x07,0x01,0x00,0x00,0x00,0x38,0x44,0x04,0x3c,0x44,0x4c,0x34,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"a",65*/
0x07,0x02,0x00,0x00,0x40,0x00,0x40,0x00,0x78,0x00,0x64,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x64,0x00,0x78,0x00,0x00,0x00,0x00,0x00,/*"b",66*/
0x06,0x01,0x00,0x00,0x00,0x30,0x48,0x40,0x40,0x40,0x48,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"c",67*/
0x07,0x01,0x00,0x04,0x04,0x34,0x4c,0x44,0x44,0x44,0x4c,0x34,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"d",68*/
0x07,0x01,0x00,0x00,0x00,0x38,0x44,0x44,0x7c,0x40,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"e",69*/
0x04,0x01,0x00,0x30,0x40,0xe0,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"f",70*/
0x07,0x01,0x00,0x00,0x00,0x34,0x4c,0x44,0x44,0x44,0x4c,0x34,0x04,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"g",71*/
0x07,0x02,0x00,0x00,0x40,0x00,0x40,0x00,0x78,0x00,0x64,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x00,0x00,0x00,0x00,/*"h",72*/
0x03,0x01,0x00,0x40,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"i",73*/
0x03,0x02,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0xc0,0x00,/*"j",74*/
0x07,0x02,0x00,0x00,0x40,0x00,0x40,0x00,0x4c,0x00,0x58,0x00,0x70,0x00,0x70,0x00,0x48,0x00,0x48,0x00,0x44,0x00,0x00,0x00,0x00,0x00,/*"k",75*/
0x03,0x01,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"l",76*/
0x0b,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x59,0x80,0x66,0x40,0x44,0x40,0x44,0x40,0x44,0x40,0x44,0x40,0x44,0x40,0x00,0x00,0x00,0x00,/*"m",77*/
0x07,0x01,0x00,0x00,0x00,0x58,0x64,0x44,0x44,0x44,0x44,0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"n",78*/
0x07,0x01,0x00,0x00,0x00,0x38,0x44,0x44,0x44,0x44,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"o",79*/
0x07,0x01,0x00,0x00,0x00,0x58,0x64,0x44,0x44,0x44,0x64,0x58,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"p",80*/
0x07,0x01,0x00,0x00,0x00,0x34,0x4c,0x44,0x44,0x44,0x4c,0x34,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"q",81*/
0x04,0x01,0x00,0x00,0x00,0x50,0x60,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"r",82*/
0x07,0x01,0x00,0x00,0x00,0x38,0x44,0x40,0x38,0x04,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"s",83*/
0x03,0x01,0x00,0x40,0x40,0xe0,0x40,0x40,0x40,0x40,0x40,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"t",84*/
0x07,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x44,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,/*"u",85*/
0x05,0x01,0x00,0x00,0x00,0x88,0x88,0x50,0x50,0x50,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"v",86*/
0x09,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x88,0x80,0x88,0x80,0x55,0x00,0x55,0x00,0x55,0x00,0x26,0x00,0x22,0x00,0x00,0x00,0x00,0x00,/*"w",87*/
0x05,0x01,0x00,0x00,0x00,0x88,0x50,0x50,0x20,0x50,0x50,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"x",88*/
0x05,0x01,0x00,0x00,0x00,0x88,0x88,0x50,0x50,0x50,0x20,0x20,0x20,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"y",89*/
0x05,0x01,0x00,0x00,0x00,0xf8,0x10,0x10,0x20,0x40,0x40,0xf8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"z",90*/
0x04,0x01,0x00,0x20,0x40,0x40,0x40,0x40,0x80,0x40,0x40,0x40,0x40,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"{",91*/
0x03,0x01,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"|",92*/
0x04,0x01,0x00,0x40,0x20,0x20,0x20,0x20,0x10,0x20,0x20,0x20,0x20,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"}",93*/
0x07,0x01,0x00,0x00,0x00,0x00,0x00,0x32,0x4c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"~",94*/
0x08,0x01,0x00,0x00,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/"-, 0 x//" negative temperature labeled word modulo x "-," 0 x// "negative temperature
0x08,0x01,0x48,0x56,0x22,0x20,0x20,0x20,0x20,0x12,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x 00/'c', 0 x// ° c temperature-labeled modulo/;
of course, the dot matrix data of the non-equal width characters actually required to be displayed may also be generated only by using the dot matrix word library generation tool, for example, the english word "wide" of the Arial font needs to be displayed, only the dot matrix data corresponding to the four non-equal width characters "w", "i", "d", and "e" included in the dot matrix data may be generated, and accordingly, the dot matrix data corresponding to the generated four non-equal width characters "w", "i", "d", and "e" may be adjusted according to the aforementioned adjustment rule to obtain the dot matrix array corresponding to the dot matrix data corresponding to the four non-equal width characters "w", "i", "d", and "e".
The following describes the specific steps of displaying non-uniform width characters:
(1) when characters need to be displayed on the display screen 230, firstly, whether the initial position coordinates (X, Y) of the characters to be displayed currently are reasonable is judged; if the line end of a line of display content is the rightmost column of the display screen, line feed processing is needed, and another line is displayed; if the vertex at the lower right corner of the screen of the display screen 230 is the end of a page displayed by the display screen, a new page needs to be displayed starting from the starting point (0,0) of the display screen 230. Before this step, for example, the start position coordinates (X, Y) also need to be set. Of course, the start position coordinates may also be start position coordinates obtained by automatic adjustment after displaying the previous character to be displayed.
(2) Then, the display area of the current character to be displayed is set to be (X- > X + asc2_1212[ num × 26] -1, Y- > Y +12-1), that is, the range of the abscissa X is X-X + asc2_1212[ num × 26] -1, the width of the display area of the current character to be displayed, that is, the width of the initial display area is the actual width occupied by the character dot matrix data, the range of the ordinate Y is Y-Y +12-1, and the height of the display area of the current character to be displayed, that is, the height of the target display area is 12.
(3) And (3) calculating the width of the initial display area of the current character to be displayed needing to be processed, processing according to 8 bits when the width of the initial display area is less than 8 bits (or bits), and processing according to the width of the initial display area set in the step (2) when the width of the initial display area is more than 8 bits.
(4) And calculating the total number of bytes of the lattice data actually representing the character, judging according to the second byte representing each character in the lattice array, wherein the second byte is 1 to represent that the total number of bytes of the lattice data actually representing the character is 12 bytes, and the second byte is 2 to represent that the total number of bytes of the lattice data actually representing the character is 24 bytes.
(5) Perform a "dot" operation (illuminate the character's location on the display 230 according to the dot matrix data): in order, starting from the third byte of the portion of the dot matrix array corresponding to the character currently to be displayed, each bit of the byte is determined, and when the bit is 1, a colored (defined by the user, for example, red, green, blue, white, etc.) "dot" is output at the corresponding position on the display screen 230, and when the bit is 0, a black "dot" is output at the corresponding position on the display screen 230, and each execution is performed by adding one to the abscissa (x). If the width of the initial display area of the current character to be displayed is larger than 8, at this time, the dotting operation needs to be executed on the part with the width exceeding 8, namely, the dotting operation is executed on the fourth byte of the part corresponding to the current character to be displayed in the dot array group, but only the part with the width reduced by 8 of the initial display area needs to be executed, after the dotting operation of the byte is executed, the ordinate is increased by one, and the abscissa returns to the coordinate before the dotting. Of course, instead of the "dot" operation, other operations may be possible, for example, operations of drawing "1" and "|" or the like may be possible, as long as the respective display units of the display screen 230 can realize the display of the content. It will also be appreciated that the color of the "dot" operation or other operations may not be limited to the color described in the present embodiment, but may be other colors, and the color is selected to highlight the difference between the lit state and the unlit state of the display unit, so as to better and more vividly highlight the character to be displayed.
(6) And (5) completely executing the dot matrix data of the current character to be displayed once according to the step (5), and completely displaying the current character to be displayed.
(7) And offsetting the current coordinate, wherein the offset is the width occupied by the actual display of the character to be displayed and is used as the initial position coordinate to be displayed of the next character to be displayed, so that the display of the next character to be displayed is facilitated.
(8) And (5) circulating the steps (1) to (5) until all characters of the Araial font of the English unequal-width font are completely displayed.
As shown in fig. 3b, which is a display effect of the song body with the equal-width font, and fig. 3c, 3d, and 3e, which are display effects of the Arial font with the non-equal-width font, the comparison effect between the display effect of the Arial font with the equal-width font (lower side "wide") and the display effect of the song body with the equal-width font (upper side "wide") realized by the embodiment of the present invention is shown in fig. 3f, it can be seen that the interval gap between the display effects of the Arial font with the non-equal-width font is very large, the entire display of the Arial font is reasonable and beautiful, and the display mode of the english characters is more suitable.
In summary, the character display method 100 provided in the embodiment of the present invention can achieve the following technical effects: the technical problem that western unequal-width characters of English characters are displayed on a display screen can be solved, and the display effect is more reasonable, attractive and natural; development time and development cost can be effectively shortened, and complexity is reduced; by setting the relevant parameters, the character display width of the non-equal-width font can be freely adjusted.
Third embodiment
As shown in fig. 4, a third embodiment of the present invention provides a character display apparatus 300, including: a starting position coordinate setting module 330, an initial display area width and target display area height obtaining module 340, a target display area width obtaining module 350 and a character display module 360. Specifically, the character display apparatus 300 is, for example, used to execute the character display method 100 as described in the foregoing first embodiment. For details of the functions and implementation of the character display method 100, reference is made to the description of the first embodiment, which is not repeated herein.
The starting position coordinate setting module 330 is configured to set a starting position coordinate of the character to be displayed on the display screen, for example. Specifically, the start position coordinate setting module 330 is, for example, configured to perform step S130 of the character display method 100.
The initial display area width and target display area height obtaining module 340 is configured to obtain an initial display area width and a target display area height corresponding to the character to be displayed, for example. Specifically, the initial display area width and target display area height acquisition module 340 is, for example, used to perform step S140 of the character display method 100.
The target display area width obtaining module 350 is configured to compare the initial display area width with a display area width threshold, and obtain a target display area width according to a comparison result. Specifically, the target display area width acquisition module 350 is, for example, configured to execute step S150 of the character display method 100.
The character display module 360 is configured to display the character to be displayed in the display screen according to the initial position coordinate, the width of the target display area, the height of the initial display area, and dot matrix data corresponding to the character to be displayed, for example. Specifically, the character display module 360 is used to execute, for example, step S160 of the character display method 100.
The target display area width obtaining module 350 is specifically configured to: if the initial display area width is smaller than the display area width threshold, taking the display area width threshold as the target display area width; and if the initial display area width is larger than or equal to the display area width threshold, taking the initial display area width as the target display area width.
Further, the initial display area width and target display area height obtaining module 340 specifically includes, for example: a dot matrix data acquisition unit 341, a dot matrix array generation unit 343, an initial display area width reading unit 345, and a target display area height acquisition unit 347. The dot matrix data obtaining unit 341 is configured to obtain the dot matrix data corresponding to the character to be displayed in a dot matrix with a specified width and a specified height, for example. The dot matrix generating unit 343 is configured to generate a dot matrix array according to the dot matrix data, where the dot matrix array includes the initial display area width corresponding to the character to be displayed. The dot matrix data obtaining unit 341 is specifically configured to: and acquiring the corresponding dot matrix data of the character to be displayed in the dot matrix with the specified width and the specified height by using a word stock generation tool. The initial display area width reading unit 345 is specifically configured to read the initial display area width of the character to be displayed in the dot matrix array. The target display area height acquiring unit 347 is specifically configured to use the specified height as the target display area height.
The lattice array generating unit 343 is specifically configured to: taking the actual occupied width of the character to be displayed in the dot matrix with the designated width and the designated height as the width of the initial display area; calculating a quotient of the size of the dot matrix data and the size of the specified byte, and rounding the quotient upwards to obtain a target multiple; and obtaining the dot matrix array according to the width of the initial display area and the target multiple.
More specifically, the dot matrix data corresponding to different characters to be displayed have different byte sizes, and the dot matrix arrays corresponding to different characters to be displayed have the same byte size.
The character display module 360 is specifically configured to:
taking the initial position coordinate corresponding to the character to be displayed as a target position coordinate; and sequentially taking each bit of the dot matrix data corresponding to the character to be displayed as a target bit and executing the following processes:
displaying a color corresponding to a value of the target bit at the target position coordinate point of the display screen;
the abscissa of the target position coordinate is increased by 1;
repeating the two steps until the abscissa of the target display position coordinate is equal to the sum of the abscissa of the starting position coordinate and the width of the target display area, increasing the ordinate of the target position coordinate by 1 by self, and updating the abscissa of the target position coordinate into the abscissa of the starting position coordinate.
Further, the character display apparatus 300, for example, further includes: the starting position coordinate adjusting module is used for adjusting the starting position coordinate to the starting position of the next line if the position of the starting position coordinate in the display screen is in the rightmost column of the display screen.
The character display apparatus 300 according to the embodiment of the present invention is used to execute the character display method 100 according to the first embodiment of the present invention, and the modules of the character display apparatus 300 cooperate to complete the display of the characters, so that the character display apparatus 300 also has the above-mentioned advantages of the character display method 100.
Fourth embodiment
As shown in fig. 5, a fourth embodiment of the present invention provides a character display system 400, including: a memory 410 and one or more processors 430 coupled to the memory 410. The memory 410 stores at least one instruction executable by the processor, for example, and the processor 430 executes the instruction to implement the character display method 100 according to the first embodiment. For details of the functions and implementation of the character display method 100, reference is made to the description of the first embodiment, which is not repeated herein.
Specifically, the memory 410 is, for example, a nonvolatile memory.
The character display system 400 of the embodiment of the invention is used for executing the character display method 100 of the first embodiment of the invention, and the memory 410 and the processor 430 included in the character display system 400 cooperate to complete the display of the character, so that the character display system 400 also has the above-mentioned advantages of the character display method 100.
Fifth embodiment
As shown in fig. 6, a storage medium 500 is provided according to a fifth embodiment of the present invention, and a computer readable program is stored therein, and the computer readable program is used for a computer to execute the character display method 100 according to the first embodiment. The storage medium 500 is, for example, a nonvolatile memory. For details of the functions and implementation of the character display method 100, reference is made to the description of the first embodiment, which is not repeated herein.
The storage medium 500 of the embodiment of the present invention also has the above-described advantages of the character display method 100 because it stores a computer-readable program for executing the character display method 100 according to the first embodiment of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and/or method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units/modules is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units/modules described as separate parts may or may not be physically separate, and parts displayed as units/modules may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments can be modified, or some technical features can be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (15)

1. A character display method, comprising:
setting initial position coordinates of characters to be displayed in a display screen;
acquiring the width of an initial display area and the height of a target display area corresponding to the character to be displayed;
comparing the initial display area width with a display area width threshold value, and obtaining a target display area width according to the comparison result; and
displaying the characters to be displayed in the display screen according to the initial position coordinates, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the characters to be displayed;
wherein, the step of comparing the initial display area width with a display area width threshold value and obtaining the target display area width according to the comparison result comprises:
if the initial display area width is smaller than the display area width threshold, taking the display area width threshold as the target display area width; and
and if the initial display area width is larger than or equal to the display area width threshold, taking the initial display area width as the target display area width.
2. The character display method according to claim 1, wherein the step of obtaining an initial display area width and a target display area height corresponding to the character to be displayed comprises:
acquiring corresponding dot matrix data of the character to be displayed in a dot matrix with a specified width and a specified height; and
generating a dot matrix array according to the dot matrix data, wherein the dot matrix array comprises the width of the initial display area corresponding to the character to be displayed;
reading the initial display area width of the character to be displayed in the dot matrix array; and
and taking the specified height as the height of the target display area.
3. The character display method according to claim 2, wherein the step of acquiring the dot matrix data corresponding to the character to be displayed in a dot matrix having a specified width and a specified height comprises:
and acquiring the corresponding dot matrix data of the character to be displayed in the dot matrix with the specified width and the specified height by using a word stock generation tool.
4. The character display method of claim 2, wherein the step of generating a dot matrix array from the dot matrix data comprises:
taking the actual occupied width of the character to be displayed in the dot matrix with the designated width and the designated height as the width of the initial display area;
calculating a quotient of the size of the dot matrix data and the size of the specified byte, and rounding the quotient upwards to obtain a target multiple; and
and obtaining the dot matrix array according to the width of the initial display area and the target multiple.
5. The character display method of claim 2, wherein the dot matrix data corresponding to different characters to be displayed have different byte sizes, and the dot matrix arrays corresponding to different characters to be displayed have the same byte size.
6. The character display method of claim 1, wherein the step of displaying the character to be displayed in the display screen according to the starting position coordinates, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the character to be displayed comprises:
taking the initial position coordinate corresponding to the character to be displayed as a target position coordinate; and
sequentially taking each bit of the dot matrix data corresponding to the character to be displayed as a target bit and executing the following processes:
displaying a color corresponding to a value of the target bit at the target position coordinate point of the display screen;
the abscissa of the target position coordinate is increased by 1;
repeating the two steps; and when the abscissa of the target position coordinate is equal to the sum of the abscissa of the starting position coordinate and the width of the target display area, increasing the ordinate of the target position coordinate by 1 by self, and updating the abscissa of the target position coordinate into the abscissa of the starting position coordinate.
7. The character display method according to claim 6, wherein displaying a color corresponding to a value of the target bit at the target position coordinate point on the display screen specifically includes:
when the value of the target bit is a first value, displaying a first color at the target position coordinate point of the display screen;
and when the value of the target bit is a second value, displaying a second color at the target position coordinate point of the display screen.
8. The character display method according to claim 1, further comprising:
and if the position of the initial position coordinate in the display screen is in the rightmost column of the display screen, adjusting the initial position coordinate to the initial position of the next line.
9. A character display apparatus, comprising:
the starting position coordinate setting module is used for setting the starting position coordinate of the character to be displayed in the display screen;
an initial display area width and target display area height obtaining module, configured to obtain an initial display area width and a target display area height corresponding to the character to be displayed;
the target display area width acquisition module is used for comparing the initial display area width with a display area width threshold value and obtaining the target display area width according to the comparison result; and
the character display module is used for displaying the characters to be displayed in the display screen according to the initial position coordinates, the width of the target display area, the height of the target display area and the dot matrix data corresponding to the characters to be displayed;
wherein, the step of comparing the initial display area width with a display area width threshold value and obtaining the target display area width according to the comparison result comprises:
if the initial display area width is smaller than the display area width threshold, taking the display area width threshold as the target display area width; and
and if the initial display area width is larger than or equal to the display area width threshold, taking the initial display area width as the target display area width.
10. The character display device according to claim 9, wherein the initial display area width and target display area height obtaining module specifically comprises:
the dot matrix data acquisition unit is used for acquiring the corresponding dot matrix data of the character to be displayed in a dot matrix with a specified width and a specified height; and
the dot matrix array generating unit is used for generating a dot matrix array according to the dot matrix data, wherein the dot matrix array comprises the width of the initial display area corresponding to the character to be displayed;
an initial display area width reading unit, configured to read the initial display area width of the character to be displayed in the dot matrix array; and
and the target display area height acquisition unit is used for taking the specified height as the target display area height.
11. The character display apparatus of claim 10, wherein the dot matrix array generating unit is specifically configured to:
taking the actual occupied width of the character to be displayed in the dot matrix with the designated width and the designated height as the width of the initial display area;
calculating a quotient of the size of the dot matrix data and the size of the specified byte, and rounding the quotient upwards to obtain a target multiple; and
and obtaining the dot matrix array according to the width of the initial display area and the target multiple.
12. The character display apparatus of claim 9, wherein the character display module is specifically configured to:
taking the initial position coordinate corresponding to the character to be displayed as a target position coordinate; and
sequentially taking each bit of the dot matrix data corresponding to the character to be displayed as a target bit and executing the following processes:
displaying a color corresponding to a value of the target bit at the target position coordinate point of the display screen;
the abscissa of the target position coordinate is increased by 1;
repeating the two steps until the abscissa of the target position coordinate is equal to the sum of the abscissa of the starting position coordinate and the width of the target display area, increasing the ordinate of the target position coordinate by 1 by self, and updating the abscissa of the target position coordinate into the abscissa of the starting position coordinate.
13. A character display system, comprising:
a microcontroller for executing the character display method according to any one of claims 1 to 8; and
and the display screen is connected with the microcontroller and is used for displaying the characters to be displayed.
14. A character display system, comprising: a memory and one or more processors coupled to the memory, the memory storing at least one instruction executable by the processors, the processors executing the instruction to implement the character display method of any one of claims 1 to 8.
15. A storage medium characterized by storing a computer-readable program for causing a computer to execute the character display method according to any one of claims 1 to 8.
CN201910433034.2A 2019-05-23 2019-05-23 Character display method, device, system and storage medium Active CN111986631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910433034.2A CN111986631B (en) 2019-05-23 2019-05-23 Character display method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910433034.2A CN111986631B (en) 2019-05-23 2019-05-23 Character display method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN111986631A CN111986631A (en) 2020-11-24
CN111986631B true CN111986631B (en) 2022-02-18

Family

ID=73436461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910433034.2A Active CN111986631B (en) 2019-05-23 2019-05-23 Character display method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN111986631B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486327B (en) * 2020-12-21 2024-06-11 北京纳米能源与系统研究所 Braille interaction equipment
CN114115779B (en) * 2021-11-22 2024-03-15 珠海格力电器股份有限公司 Parameter display control method and device, display panel and household appliance

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499261A (en) * 2008-01-28 2009-08-05 德信智能手机技术(北京)有限公司 Non-monospaced font displaying mechanism
CN101763845A (en) * 2008-12-26 2010-06-30 上海闻泰电子科技有限公司 Method for calculating the display width of characters in a dot matrix character library
CN102117266A (en) * 2009-12-31 2011-07-06 北京谊安医疗系统股份有限公司 Method and device for processing character pitch
CN109086256A (en) * 2018-07-12 2018-12-25 郑州众智科技股份有限公司 A kind of generation and application method of the character library dot matrix that length is variable

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3964042B2 (en) * 1998-04-08 2007-08-22 株式会社リコー Color image processing apparatus and color image processing method
US7327367B2 (en) * 2003-10-01 2008-02-05 Integrated Device Technology, Inc. Method and apparatus for font processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499261A (en) * 2008-01-28 2009-08-05 德信智能手机技术(北京)有限公司 Non-monospaced font displaying mechanism
CN101763845A (en) * 2008-12-26 2010-06-30 上海闻泰电子科技有限公司 Method for calculating the display width of characters in a dot matrix character library
CN102117266A (en) * 2009-12-31 2011-07-06 北京谊安医疗系统股份有限公司 Method and device for processing character pitch
CN109086256A (en) * 2018-07-12 2018-12-25 郑州众智科技股份有限公司 A kind of generation and application method of the character library dot matrix that length is variable

Also Published As

Publication number Publication date
CN111986631A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US10387549B2 (en) Procedurally expressing graphic objects for web pages
CN111986631B (en) Character display method, device, system and storage medium
CA2124603C (en) Method and apparatus for operating on the model data structure of an image to produce human perceptible output in the context of the image
CN101558425B (en) Image processing apparatus, image processing method
US6337924B1 (en) System and method for accurately recognizing text font in a document processing system
US20030020726A1 (en) Method and system for displaying graphics information
KR20100033412A (en) Image processing apparatus, image processing method, and computer program
US9514691B2 (en) Electronic display
JP2015130158A (en) Cloud-based font service system
Yuan et al. Deep colormap extraction from visualizations
CN108230236B (en) Digital image automatic imposition method and digitally published picture imposition method
CN106327453A (en) Method for splicing picture resources and picture resource splicing device
KR102262521B1 (en) Integrated rendering method for various extended reality modes and device having thereof
CN102929571A (en) Multi-language configuration display system and device
US11868790B2 (en) One-to-many automatic content generation
CN102572219A (en) Mobile terminal and image processing method thereof
CN103186507B (en) Dot matrix word library processing method
CN115967823A (en) Video cover generation method and device, electronic equipment and readable medium
CN102103849B (en) OSD controller
CN100492373C (en) Device and method for producing emulation model of image sensor action
CN107665186A (en) A kind of peculiar font generation method
US20070216696A1 (en) System and method for document rendering employing bit-band instructions
CN202929611U (en) Multi-language configuration display device
WO2023272495A1 (en) Badging method and apparatus, badge detection model update method and system, and storage medium
CN112084983B (en) Hair style recommendation method based on ResNet and application thereof

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