Expand description
The cmap table
Structsยง
- Cmap
- cmap
- Cmap0
- cmap Format 0: Byte encoding table
- Cmap0
Iter - Iterator over all (codepoint, glyph identifier) pairs in a format 0 subtable.
- Cmap2
- cmap Format 2: High-byte mapping through table
- Cmap4
- cmap Format 4: Segment mapping to delta values
- Cmap6
- cmap Format 6: Trimmed table mapping
- Cmap8
- cmap Format 8: mixed 16-bit and 32-bit coverage
- Cmap4
Iter - Iterator over all (codepoint, glyph identifier) pairs in the subtable.
- Cmap4
Segment ๐ - A format 4 segment a search found, for a batch to reuse.
- Cmap6
Iter - Iterator over all (codepoint, glyph identifier) pairs in the subtable.
- Cmap10
- cmap Format 10: Tr
- Cmap12
- cmap Format 12: Segmented coverage
- Cmap13
- cmap Format 13: Many-to-one range mappings
- Cmap14
- cmap Format 14: Unicode Variation Sequences
- Cmap15
- Extended glyph repertoire UVS mapping (ISO/IEC 14496-22:2026, 5.1.2.5.11).
- Cmap10
Iter - Iterator over all (codepoint, glyph identifier) pairs in the subtable.
- Cmap12
Group ๐ - A format 12 group a search found, for a batch to reuse.
- Cmap12
Iter - Iterator over all (codepoint, glyph identifier) pairs in the subtable.
- Cmap13
Iter - Iterator over all (codepoint, glyph identifier) pairs in the subtable.
- Cmap1213
Iter ๐ - Shared iterator for cmap 12/13.
- Cmap1213
Iter ๐Group - Remapped groups for iterating cmap12/13.
- Cmap
Iter Limits - Character and glyph limits for iterating format 12 and 13 subtables.
- Constant
MapGroup - Part of Cmap13
- Default
Uvs - Default UVS table
- Default
UvsIter ๐ - Dmap
- Delta map table (ISO/IEC 14496-22:2026, 5.6.15).
- Encoding
Record - Encoding Record
- NonDefault
Uvs - Non-Default UVS table
- NonDefault
Uvs24 - Non-default UVS mappings with 24-bit glyph IDs, used by Cmap15.
- NonDefault
UvsIter ๐ - The (codepoint, glyph) mappings of a non-default UVS table, whose glyph IDs are 16-bit in format 14 and 24-bit in format 15.
- Sequential
MapGroup - Used in Cmap8 and Cmap12
- SubHeader
- Part of Cmap2
- Unicode
Range - Part of Cmap14
- UvsMapping
- Part of Cmap14
- UvsMapping24
- UVSMapping24 record (ISO/IEC 14496-22:2026, 5.1.2.5.11).
- UvsSubtable
- A Unicode variation sequences subtable: format 14, or format 15, whose non-default mappings carry 24-bit glyph IDs.
- UvsSubtable
Iter - Iterator over all (codepoint, selector, mapping variant) triples in a Unicode variation sequences subtable.
- Variation
Selector - Part of Cmap14
- Variation
Selector15 - Part of Cmap15.
Enumsยง
- Cmap
Subtable - The different cmap subtable formats.
- Cmap
Subtable Iter - Iterator over all (codepoint, glyph identifier) pairs in the subtable.
- MapVariant
- Result of mapping a codepoint with a variation selector.
- Platform
Id - https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#platform-ids
Constantsยง
- UNICODE_
1_ ๐0_ ENCODING - UNICODE_
1_ ๐1_ ENCODING - UNICODE_
2_ ๐0_ BMP_ ENCODING - UNICODE_
2_ ๐0_ FULL_ ENCODING - UNICODE_
FULL_ ๐ENCODING - UNICODE_
ISO_ ๐ENCODING - UNICODE_
VARIATION_ ๐SEQUENCES_ ENCODING - WINDOWS_
SYMBOL_ ๐ENCODING - WINDOWS_
UNICODE_ ๐BMP_ ENCODING - WINDOWS_
UNICODE_ ๐FULL_ ENCODING
Traitsยง
- AnyMap
Group ๐ - Trait to unify constant and sequential map groups.
Functionsยง
- cmap1213_
find_ ๐group - Finds the group that maps
codepoint, by binary search, with the codepoints of that group the search reaches it for. - cmap1213_
iter_ ๐group - Shared group resolution code for cmap 12/13.
- cmap1213_
map_ ๐codepoint - Shared codepoint mapping code for cmap 12/13.
Type Aliasesยง
- Cmap14
Iter - Iterator over all (codepoint, selector, mapping variant) triples in a format 14 subtable.
- Cmap15
Iter - Iterator over all (codepoint, selector, mapping variant) triples in a format 15 subtable.