Expand description
Experimental generic traversal of font tables.
This module defines functionality that allows untyped access to font table data. This is used as the basis for things like debug printing.
The basis of traversal is the SomeTable
trait, which is implemented for
all font tables. This trait provides the table’s name, as well as ordered access
to the table’s fields. Using this, it is possible to iterate through a table
and its subtables, records, and values.
§Warning
This functionality is considered experimental, and the API may break or be removed without warning.
Structs§
- An offset to an array.
- A generic field in a font table.
- A struct created from a record and the data it needs to resolve any contained offsets.
- An offset, as well as the table it references.
- An offset to string data.
Enums§
- Types of fields in font tables.
- Any offset type.
Traits§
- A generic trait for arrays.
- A generic trait for records, which need to be passed in data in order to fully resolve themselves.
- A generic table type.