摘要 |
PROBLEM TO BE SOLVED: To process a front end editable text file (feature file) by reading and syntax-analyzing a feature file to generate the internal expression of feature definition, converting the feature definition to font table or sub-table definition, and writing it into a font file. SOLUTION: A feature file is read and analyzed for syntax. During the syntax analysis, the griff pattern of each rule is converted to internal expression. The griff name or CID number is converted to a griff ID at first. The rules are recognized, grouped every type, and read (stored) in the dynamically assigned arrays of a memory. The run of a specified kerning pair is grouped independently from the run of a class kerning pair. The internal expression of the rule is converted to a corresponding font data format, and a sub table and other output data are formed and stored in the font.
|