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

Method for generating smooth lattice font from vector font

A technology of dot-matrix fonts and vector fonts, applied in 2D image generation, cathode ray tube indicators, image data processing, etc., can solve the problem that TrueType fonts cannot be displayed smoothly, and achieve easy implementation, less processor resources, and The effect of broad application prospects

Active Publication Date: 2010-02-03
GUANGZHOU GOMO SHIJI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 1) Small-sized TrueType fonts cannot be displayed smoothly, and the corresponding dot matrix results are generally used as output, so it cannot be deformed under this size

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 generating smooth lattice font from vector font
  • Method for generating smooth lattice font from vector font
  • Method for generating smooth lattice font from vector font

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] The width and height of the TrueType font size are integral multiples of the target bitmap size. The vector font generates a smooth bitmap font.

[0056] It is achieved through the following steps:

[0057] (1) Select a TrueType font from the font interface;

[0058] (2), extract the dot matrix information under the enlarged n times size contained in this TrueType font, save as Pixel1, n is a natural number, that is, the width and height of the TrueType font size are integer multiples of the target dot matrix size;

[0059] (3), extract the ClearType display result of the TrueType font under the size and save it as ClearType1;

[0060] (4), the above dot matrix information Pixel1 and the display result ClearType1 obtain the transparency threshold threshold,

[0061] The method of obtaining the transparency threshold is as follows:

[0062] a. Extract difference pixels: compare all the pixels of the dot matrix information Pixel1 with all the pixels of the display result...

Embodiment 2

[0068] The width and height of the TrueType font size are an odd multiple of the target bitmap size. The vector font generates a smooth bitmap font.

[0069] It is achieved through the following steps:

[0070] (1) Select a TrueType font from the font interface;

[0071] (2), extract the dot matrix information under the enlarged n times size contained in this TrueType font, save as Pixel1, n is a natural number, that is, the width and height of the TrueType font size are integer multiples of the target dot matrix size;

[0072] (3), extract the ClearType display result of the TrueType font under the size and save it as ClearType1;

[0073] (4), the above dot matrix information Pixel1 and the display result ClearType1 obtain the transparency threshold threshold,

[0074] The method of obtaining the transparency threshold is as follows:

[0075] a. Extract difference pixels: compare all the pixels of the dot matrix information Pixel1 with all the pixels of the display result ...

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 vector fonts to generate smooth bitmap fonts, which is achieved through the following steps: (1) A TrueType font is chose from a font interface; (2) bitmap information under specific small size included in the TrueType font is extracted; (3) A Clear Type display result of the TrueType font under the size is extracted; (4) the bitmap information and the displayresult are compared to achieve a transparence threshold value; (5) with the transparence threshold value as the guidance of bitmap generation, a new bitmap font is generated in display equipment. Themethod is easy to achieve and small in calculating amount, occupies very little resource of a processor, little space resource and computing resource of a system, obtains a smooth and beautiful bitmap font and has a wide application prospect in single chip equipment, embedded type equipment and other small-scale equipment.

Description

technical field [0001] The invention relates to the technical field of dot matrix font display of embedded devices, in particular to a method for generating smooth dot matrix fonts from vector fonts of embedded devices. Background technique [0002] Dot-matrix fonts are widely used in some single-chip microcomputer devices and embedded devices because they do not need to be deformed, and occupy little space resources and system computing resources. Due to the variety of embedded device screen changes, it is often necessary to generate dot matrix fonts of different sizes during the product development process. However, due to the limitations of dot matrix fonts themselves, smooth deformation cannot be achieved, so dot matrix fonts are generally generated from vector fonts. . The current generation method is generally to obtain the corresponding dot matrix information of the vector font of a specified size by using the development interface of the platform on the Windows plat...

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 Patents(China)
IPC IPC(8): G09G5/28G06T11/00
Inventor 严春莲
Owner GUANGZHOU GOMO SHIJI TECH CO LTD