Method and system for rendering fonts
A font and font library technology, applied in the field of rendering fonts, can solve the problems of cumbersome rendering process and low performance of displaying a large amount of text, and achieve high performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The method and system for rendering fonts proposed by the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0034] Such as figure 1 and figure 2 As shown, a method of rendering fonts, including:
[0035] Step S1, the As3 script parses the Svg document, finds the relevant nodes of the font, and extracts the font information in the relevant nodes;
[0036] Step S2, constructing DefineFont3 node, DefineFontName node, and DoAbc node including a font definition class according to the swf file format specification according to the font information, specifically, constructing the Abc code that can be parsed by the flash virtual machine with the As3 script can provide the exported font Define a class, the font definition class can be used externally by the font library;
[0037] Step S3, establish the association between the font definition class and the DefineFont3 and DefineFontName nodes ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 