Supercharge Your Innovation With Domain-Expert AI Agents!

Intelligent accelerated drawing method for character library

A font library and intelligent technology, applied in the direction of electronic digital data processing, special data processing applications, instruments, etc., can solve the problems of single display effect and slow drawing speed, so as to reduce the number of reading times, improve the efficiency of character drawing, rich and colorful The effect of the character drawing function

Inactive Publication Date: 2016-04-20
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides an intelligent accelerated processing method for fonts to solve the shortcomings of slow drawing speed and single display effect when processing fonts in an embedded graphics system

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
  • Intelligent accelerated drawing method for character library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] Embodiment 1: The standard font configuration module generates a font configuration table according to the user-configured font file path, font type, font family and character set, and at the same time, when the user configures the fast font, it will also pass it to the standard font configuration module For the required font information, if there is no configuration information required by the fast font in the table, the standard font configuration module will automatically add the required font configuration to the font configuration table, and then pass the font configuration table to the standard font analysis module;

[0075] The fast font configuration and character table management module completes the configuration of the standard font used when generating the fast font and manages the characters in the fast font, generates a fast character table, and at the same time receives the recommended characters delivered by the drawing character configuration and manageme...

Embodiment 2

[0084] Embodiment 2: the character data information stored in the fast font library obtains the character array bitmap (BMP) for further processing by analyzing the standard font library module to obtain the character bit information (BITS). In the fast font library analysis module, the current character index is obtained by parsing, and Calculate the position of the current character in the character whole bitmap (BMP) through the index to obtain the texture coordinates, combine the character display style information of the drawing character control module, use the texture map interface (glTexture2D) in OpenGL to draw the character.

[0085] When using the bitmap drawing interface (glBitmap) and texture map interface (glTexture2D) in OpenGL to draw characters, various character display effects can be realized according to the display style information of the characters.

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 provides an intelligent accelerated processing method for a character library. Firstly, certain intelligent character detection mechanisms are adopted for processing common characters, a quick character table comprising all the processed characters is established, all character information in the quick character table is analyzed from a standard character library source, quick character library data in a specific format are generated, data information of the characters and character display style information are analyzed from the quick character data when the characters are drawn, related characters can be directly drawn according to the information, various display styles can be realized, accordingly, analysis of a standard character library and drawing of the characters is separated, the number of reading times of a file is reduced, and time required for analysis of character data is shortened; when the characters are drawn, stored data are directly read, related hardware is called to drive a drawing function, a hardware acceleration function is used, and the character drawing efficiency is improved; various character drawing functions are realized by means of the character display style information.

Description

technical field [0001] The invention belongs to the field of computer applications, and in particular relates to a font intelligent acceleration processing method. Background technique [0002] Font library technology is widely used in various visual electronic devices. Under the premise of extremely limited hardware resources in embedded systems, how to reduce resource occupation, improve drawing speed, and realize various display effects of characters has become the core issue of character display module design. [0003] In the ordinary character drawing method, when a character needs to be drawn, the glyph data of the character is obtained by parsing the standard font file, and then drawn line by line on the screen through scanning lines. This method performs a file reading operation before drawing characters each time, and scans and draws characters line by line when drawing characters. This method has the disadvantages of occupying more software and hardware resources, ...

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/30G06F17/21
CPCG06F16/219G06F16/2455G06F40/109
Inventor 田泽马城城刘晖黎小玉张琛聂瞾
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More