GLF File Format Description

Version 1.0

1. Header - 128 Bytes
2. Font Data (One Symbol)
...
N. Font Data (Last Symbol)

1. Header (128 Bytes)

- Font Label ("GLF", 3 Bytes)
- Font Name ("...", 96 Bytes)
- Total Symbols in Font File (Number, 1 Byte)
- Reserved (28 Bytes)

2. Font Data

- Symbol code (Number 1 Byte) - Symbol code in ASCII table
- Number of Vertexs in symbol (Number, 1 Byte)
- Number of Facets in symbol (Number, 1 Byte)
- Total Lines in symbol (Number, 1 Byte)
- Vertex Data (Float Numbers, Total: 4*NumberOfVertexs*2 Bytes) - X and Y coordinates of symbol (X range -1..1, Y range -1..1)
- Face Data (Numbers, Total: 3*TotalOfFaces Bytes) - Each 3 Byte Element defines triangle, Each Number in Element show element number in vertex data
- Line Data (Array of numbers: TotalLines Bytes) - Array element it is number of last vertex of line in vertex data