High-performance vector font library display method based on VXWorks system

A display method and operating system technology, which is applied in the field of high-performance vector font library display in the VXWorks operating system, can solve the problems of poor graphics display Chinese character display support, low character drawing efficiency, and large font file size, etc., to achieve excellent display effect and excellent display effect Good, high display performance effect

Inactive Publication Date: 2016-06-29
AVIC NO 631 RES INST
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Airborne embedded computer equipment mostly uses the VxWorks operating system, which has poor support for graphic display, especially Chinese character display
At present, the general solution is to use the dot matrix Chinese character library for display. This method solves the problem of Chinese character display to a certain extent, but there are disadvantages such as large font file size, poor versatility, low character drawing efficiency, and poor display effect.

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
  • High-performance vector font library display method based on VXWorks system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to provide a Chinese character display method with good display effect, high operating efficiency and strong versatility under the VxWorks operating system, the present invention proposes a vector font library display scheme.

[0014] The technical implementation of the vector font display scheme is divided into two parts:

[0015] 1. Analysis of vector fonts.

[0016] Use FreeType to analyze vector fonts. FreeType is a C-coded open source vector character software library with high operating efficiency and easy use. It has strong platform independence and can run on various operating system platforms such as VxWorks, Windows, and Linux. Supports various vector font file formats including TrueType and OpenType.

[0017] When the program is running, the vector font file stored in the file system and other media is read into the memory, and FreeType is initialized. Using the UNICODE encoding of characters as an index, and specifying parameters such as charact...

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 present invention provides a high-performance vector font library display method based on a VXWorks system. The method comprises the following steps: 1) initializing FreeType; 2) performing texture initialization; 3) reading a vector font library file stored in a file system into a memory; 4) determining whether character cache data exists, and if yes, displaying the character cache data as characters via texture mapping, and if no, parsing font vector information into lattice data according to the vector font library file, and displaying the well-parsed lattice data as characters via texture mapping; and 5) determining whether a display process ends, if yes, releasing a memory texture space, and if no, continuing executing the step until the display ends. Based on an OpenGL graphic library based on VXWorks and in combination with TrueType, the high-performance vector font library display method based on a VXWorks system is high in drawing efficiency, good in display effect, capable of supporting zooming, rotating and translation and good in anti-aliasing effects.

Description

technical field [0001] The invention belongs to the graphic display field of an airborne embedded computer, and relates to a font display method, in particular to a VXWorks operating system high-performance vector font display method. Background technique [0002] Most of the airborne embedded computer devices use the VxWorks operating system, which has poor support for graphic display, especially Chinese character display. At present, the general solution is to use dot-matrix Chinese character library for display. This method solves the problem of Chinese character display to a certain extent, but has the disadvantages of large font file size, poor versatility, low character drawing efficiency, and poor display effect. Contents of the invention [0003] In order to solve the above-mentioned technical problems existing in the background technology, the present invention provides a VXWorks operating system with high drawing efficiency, good display effect, and support for z...

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): G06F3/14
Inventor 许少尉陈思宇刘硕梁争争郭强吴蓬勃
Owner AVIC NO 631 RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products