Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for generating Chinese truetype fonts

A font and Chinese technology, applied in the field of TrueType font generation, can solve the problems of missing fonts, low efficiency, fonts that cannot cover the font library, etc., to achieve the effect of full coverage and high efficiency

Active Publication Date: 2022-01-07
北京江融信科技有限公司
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] TTF (TrueTypeFont) is a font file format jointly launched by Apple and Microsoft. With the popularity of windows, it has become the most commonly used font file representation method; TTF files are common files for TrueType fonts used by computers. TTF files use Contour lines are used to form computer fonts, which are widely used; at present, Chinese TrueType fonts are mainly generated by manual word-by-word editing, and the glyphs are edited point by point. However, due to the huge Chinese font library, manual word-by-word editing is efficient. It is not high, and many fonts cannot cover the entire font library, and there is a serious problem of missing fonts. Therefore, it is particularly important to use computer simulation to form special fonts; and Chinese fonts have beautiful shapes, complex strokes, and small changes in the height ratio of fonts will cause problems. Different font aesthetics, so a method that can generate different proportion changes through calculation is needed to generate different Chinese fonts

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
  • A method and system for generating Chinese truetype fonts
  • A method and system for generating Chinese truetype fonts
  • A method and system for generating Chinese truetype fonts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] figure 1 A kind of method of generating Chinese TrueType font provided for an embodiment of the present invention, comprises the following steps:

[0065] S100: Read any Chinese character in the standard Chinese font library to obtain outline data of the standard Chinese font;

[0066] Contour is a way for TTF files to represent fonts. The outer contour marks the periphery of the glyph, and the inner contour marks the vacancy; for example, taking the Chinese character "智" as an example, the outline of the standard font of "智" is as follows: figure 2 shown.

[0067] Read the MaximumProfileTable of the Chinese standard font library to obtain the ID of any Chinese character, and based on the ID of the Chinese character, look up the starting position and length of the Chinese character in the Locatable of the Chinese standard font library; based on the starting position and length of the Chinese character in the Chinese standard font The outline data (binary data) of the...

Embodiment 2

[0097] Figure 10 A system for generating Chinese TrueType fonts provided by an embodiment of the present invention includes a reading module, a processing module, a write-back module, a Chinese character font file table generation module and a Chinese TrueType font file generation module;

[0098] The reading module is used to read any Chinese character in the standard Chinese font library to obtain the outline data of the standard Chinese font;

[0099] The processing module is used to process the contour line data of the standard font of Chinese characters based on the calculation method of the trigonometric function segmentation height to obtain the contour line data of the new font of Chinese characters;

[0100] The write-back module is used to write back the contour line data of the new Chinese character font to the GlyphTable of the Chinese character standard font library;

[0101] The Chinese character font file table generating module is used to form a new GlyphTabl...

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 method and system for generating Chinese TrueType fonts, including reading any Chinese character in the standard Chinese font library to obtain the contour line data of the standard Chinese font; the calculation method based on the trigonometric function segmentation height The contour line data of the Chinese character standard font is processed to obtain the contour line data of the new font; the contour line data of the new Chinese character font is written back to the GlyphTable of the standard Chinese font library; Outline outline data processing is the outline outline data of new font, forms new GlyphTable based on the outline outline data of all new fonts, and described new GlyphTable is synchronized to Chinese character font file table; Add signature file in Chinese character font file table to Generating Chinese TrueType font files; the method realizes the formation of Chinese TrueType fonts through computer simulation, and has the advantages of high efficiency and full coverage.

Description

technical field [0001] The invention relates to the technical field of TrueType font generation, in particular to a method and system for generating Chinese TrueType fonts. Background technique [0002] TTF (TrueTypeFont) is a font file format jointly launched by Apple and Microsoft. With the popularity of windows, it has become the most commonly used font file representation method; TTF files are common files for TrueType fonts used by computers. TTF files use Contour lines are used to form computer fonts, which are widely used; at present, Chinese TrueType fonts are mainly generated by manual word-by-word editing, and the glyphs are edited point by point. However, due to the huge Chinese font library, manual word-by-word editing is efficient. It is not high, and many fonts cannot cover the entire font library, and there is a serious problem of missing fonts. Therefore, it is particularly important to use computer simulation to form special fonts; and Chinese fonts have bea...

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
IPC IPC(8): G06F40/109
CPCG06F40/109
Inventor 衣得平
Owner 北京江融信科技有限公司
Features
  • Generate Ideas
  • 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