Unlock instant, AI-driven research and patent intelligence for your innovation.

Lattice library generation method, query method and corresponding devices

A technology of a dot matrix font library and a generating device, which is applied in the computer field, can solve the problems such as the inability to display vector fonts, the inability to query the dot matrix library information accurately and quickly, and the consumption of system resources, so as to speed up the query speed, enhance the user experience, and improve the performance effect

Active Publication Date: 2017-06-13
GEER TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a dot-matrix font generation method, a query method and a corresponding device to solve the problem that vector fonts cannot be displayed on a dot-matrix screen in the prior art, and system resources are seriously consumed during the font index process, resulting in inability to accurately , The problem of quickly querying the information of the lattice library

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Lattice library generation method, query method and corresponding devices
  • Lattice library generation method, query method and corresponding devices
  • Lattice library generation method, query method and corresponding devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 It is a flow chart of a method for generating dot matrix fonts according to an embodiment of the present invention, see figure 1 , the method includes:

[0049]Step S110, converting the vector font into a bitmap set and a character index file; the character index file includes index information of all characters, and the index information of each character includes a single code of the character;

[0050] Step S120, generating secondary index information of the dot matrix font library according to the character index file;

[0051] Step S130, all characters are divided into multiple partitions according to the single code of the character, the single codes of the characters in each partition are continuous, and the structure information of each partition only includes the single code of the start character and the single code of the end character; The structure information of the partitions is combined to generate the first-level index information of the dot ...

Embodiment 2

[0063] Figure 9 It is a flowchart of a dot matrix font library query method according to an embodiment of the present invention, see Figure 11 , the method includes:

[0064] S910 step, storing the dot matrix font generated by the method for generating the dot matrix font as described above in the external memory;

[0065] Step S920, according to the start address of the first-level index information in the dot matrix font file header, read the first-level index information in the dot matrix font into the memory;

[0066] Step S930, according to the single code of the character to be queried, query the first-level index information read into the memory, obtain the partition where the character to be queried is located, and calculate according to the single code of the start character and the single code of the end character of the partition where the character is located The partition position of the character to be queried in the partition;

[0067] Step S940, according ...

Embodiment 3

[0072] Figure 10 It is a schematic diagram of a dot matrix font library generation device according to an embodiment of the present invention, see Figure 10 , the device 1000 includes:

[0073] The vector font conversion unit 1010 is adapted to convert the vector font into a bitmap set and a character index file; the character index file includes index information of all characters, and the index information of each character includes a single code of the character;

[0074] The secondary index information generation unit 1020 is adapted to generate secondary index information of the dot matrix font library according to the character index file;

[0075] The first-level index information generation unit 1030 is suitable for dividing all characters into multiple partitions according to the single code of the character, the single codes of the characters in each partition are continuous, and the structure information of each partition only includes the single code of the begi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a lattice library generation method, a query method and corresponding devices. The method comprises the steps that a vector font is converted into a bitmap set and a character index file; the character index file comprises index information of all characters; according to the character index file, secondary index information of a lattice library is generated; according to single codes of the characters, all the characters are divided into a plurality of partitions, the single codes of the characters inside each partition are continuous, the structural body information of each partition only comprises the single code of the beginning character and the single code of the ending character; the structural body information of all the partitions are combined together to generate primary index information of the lattice library; according to the primary index information and the secondary index information, a lattice library file header is generated; according to the lattice library file header, the primary index information, the secondary index information and the bitmap set, the lattice library is generated. Resource energy consumption of the system can be lowered, the lattice library query speed is increased, and the user experience is enhanced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for generating a dot matrix font library, a query method and a corresponding device. Background technique [0002] With the continuous improvement of people's living standards, people put forward higher requirements for the display function of embedded electronic products. Compared with dot-matrix fonts, vector fonts have the advantages of being infinitely magnified without distortion, but vector fonts contain more information, occupy a large space, and display slowly, and most embedded electronic products have relatively limited system resources. , resulting in vector fonts not being widely used in embedded electronic products. Displaying vector fonts on dot-matrix screens has become the research focus of researchers. [0003] However, the existing dot-matrix fonts can only display English characters accurately and quickly, because for an English font, the number of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/51G06F16/5866G06F2216/01Y02D10/00
Inventor 刘明月
Owner GEER TECH CO LTD