Crate font_types
source ·Expand description
Common scalar data types used in font files
Macros§
- An internal macro for implementing the
RawType
trait.
Structs§
- A wrapper around raw big-endian bytes for some type.
- Minimum and maximum extents of a rectangular region.
- 16-bit signed fixed point number with 14 bits of fraction.
- 16-bit signed fixed point number with 12 bits of fraction.
- 16-bit signed fixed point number with 10 bits of fraction.
- 32-bit signed fixed point number with 6 bits of fraction.
- 16-bit signed quantity in font design units.
- 32-bit signed fixed point number with 16 bits of fraction.
- A 32-bit glyph identifier.
- A 16-bit glyph identifier.
- 24-bit unsigned integer.
- A simple datetime type.
- A type representing a major, minor version pair.
- Identifier for an informational string (or name).
- An offset of a given width for which NULL (zero) is a valid value.
- A16-bit offset to a table.
- A24-bit offset to a table.
- A32-bit offset to a table.
- Two dimensional point with a generic coordinate type.
- An OpenType tag.
- The error type returned when a glyph identifier conversion fails.
- 16-bit unsigned quantity in font design units.
- 24-bit unsigned integer.
- A legacy 16/16 version encoding Packed 32-bit value with major and minor version numbers.
Enums§
- An error representing an invalid tag.
Constants§
- The SFNT version for fonts containing CFF outlines.
- The SFNT version for legacy Apple fonts containing TrueType outlines.
- The header tag for a font collection file.
- The SFNT version for fonts containing TrueType outlines.
Traits§
- A trait for determining whether versions are compatible.
- A trait for types that have a known, constant size.
- A trait for font scalars.