Get missing width for the font metrics

This commit is contained in:
2024-02-13 09:16:14 +01:00
parent ca70d648a9
commit eedcacab59
5 changed files with 83 additions and 35 deletions

View File

@ -40,3 +40,12 @@ fountainhead --help
for help.
## Usage
TrueType and OpenType fonts consist of a sequence of tables and various
informations about the font are encoded in these tables. There are both
required and optional tables. The first table is a font directory and it
describes the overall structure of the font, what tables it contains and at what
offset other tables can be found.
This library doesn't parse the whole font at once. The font directory has to be
parsed first and can be used then to parse further tables as needed.