Expand description
A minimal subset of ttf-parser, inlined from ttf-parser 0.25.1 (MIT / Apache-2.0).
Contains just enough of the original crate to parse font table records,
the name table and parts of the OS/2 table.
Re-exportsยง
pub use language::Language;pub use name::name_id;pub use name::PlatformId;pub use os2::Style;pub use os2::Width;pub use parser::LazyArray16;
Modulesยง
- language ๐
- name
- A Naming Table implementation.
- os2
- A OS/2 and Windows Metrics Table implementation.
- parser ๐
- Binary parsing utils.
Structsยง
- RawFace
- A raw font face.
- Table
Record ๐ - A raw table record.
- Tag
- A 4-byte tag.
Enumsยง
- Face
Parsing Error - A list of font face parsing errors.
- Magic ๐
- A TrueType font magic.
Functionsยง
- fonts_
in_ collection - Returns the number of fonts stored in a TrueType font collection.