Module charset

Module charset 

Source
Expand description

CFF charset support.

Structs§

Charset
Character set for mapping from glyph to string identifiers.
CharsetIter
Iterator over the glyph and string identifier mappings in a character set.
RangeIter 🔒
Custom iterator for range based formats.

Enums§

CharsetKind
Predefined and custom character sets.
Iter 🔒

Constants§

EXPERT_CHARSET 🔒
See “Expert” charset at https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf#page=47
EXPERT_SUBSET_CHARSET 🔒
See “Expert Subset” charset at https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf#page=49

Traits§

CharsetRange 🔒
Trait that unifies ranges for formats 1 and 2 so that we can implement the tricky search logic once.

Functions§

glyph_id_from_ranges 🔒
next_range 🔒
string_id_from_ranges 🔒