Method for user-defined character font

A user-defined font technology, which is applied in electronic digital data processing, special data processing applications, natural language data processing, etc., to avoid filtering and parsing processing, improve font display speed, and avoid loading image resources.

Inactive Publication Date: 2010-02-03
WUDI SCI & TECH (XIAN) CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Displaying the data of this kind of picture also needs to specify the picture resource again, and this traditional picture resource display method requires a lot of calculations, and it may not be possible to quickly use pictures to display characters for embedded devices with limited performance

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
  • Method for user-defined character font
  • Method for user-defined character font
  • Method for user-defined character font

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] see figure 1 , the method for user-defined font comprises the following steps: step 11, character picture is provided, such as shown in Table 1 shows respectively " body ", " word ", " I ", " of ", "A", "B" , 8 user handwritten character pictures of "C" and "D". Character pictures of the same type can be stored in the same directory, and the directory name can include the font type names of these character pictures.

[0041] Table I

[0042]

[0043] Step 12, analyzing the file name of the character picture, obtaining the character code corresponding to the character picture, and reading the file data of the character picture. The file data includes the width and height of the character picture and the file offset (offset). Step 13, pack the character picture into a font file, and record the character code and file data in the index of the font file. Wherein, the index of the font file can be recorded in a data structure capable of fast searching, such as a red b...

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 relates to a method for user-defined character font which is applicable to an embedded system. The method comprises the following steps: 1) providing a character picture; 2) resolving the document name of the character picture, obtaining a character code corresponding to the character picture and reading the document data of the character picture; 3) packaging the character picture into a character font document and recording the character code and document data on the index of the character font document; and 4) retrieving the index of the character font document according to the character code to be displayed when users select character font; if the retrievals are matched, obtaining the character picture corresponding to the character code to be displayed from the characterfont document to display. The method in the invention can lower the complexity of the user-defined character font, remove much redundant information, avoid unnecessary filter and resolution processing and prevent frequent image resource load, thus improving the displaying speed of the character font.

Description

technical field [0001] The invention relates to a method for user-defined fonts, in particular to a technical field that allows users to pack character pictures into font files for use in embedded systems. Background technique [0002] With the increasing storage capacity of embedded devices (handheld digital assistants), users have more and more functions for embedded devices. Among them, personalization of embedded devices is one of the most important functions. Many users like to use special fonts that can represent their personalities. Although there are many types of fonts available for users to download on embedded devices, it is still not enough to meet the needs of some users for more personalized fonts, such as handwritten fonts. [0003] In the background technology, an embedded device can display some characters by using pictures one by one by formulating a special script, but the display of pictures does not have the basic characteristics of displaying fonts. D...

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/30G09G5/00
CPCG06F17/214G06F40/109
Inventor 陈淮琰钟辉刘刚
Owner WUDI SCI & TECH (XIAN) CO LTD
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