# Module cmap

Expand description

The cmap table

## Structs§

Cmap4Iter
  Iterator over all (codepoint, glyph identifier) pairs in the subtable.
Cmap6Iter
  Iterator over all (codepoint, glyph identifier) pairs in the subtable.
Cmap10Iter
  Iterator over all (codepoint, glyph identifier) pairs in the subtable.
Cmap12Iter
  Iterator over all (codepoint, glyph identifier) pairs in the subtable.
Cmap13Iter
  Iterator over all (codepoint, glyph identifier) pairs in the subtable.
Cmap14Iter
  Iterator over all (codepoint, selector, mapping variant) triples in the subtable.
CmapIterLimits
  Character and glyph limits for iterating format 12 and 13 subtables.
ConstantMapGroup
  Part of Cmap13
EncodingRecord
  Encoding Record
SequentialMapGroup
  Used in Cmap8 and Cmap12
SubHeader
  Part of Cmap2
UnicodeRange
  Part of Cmap14
UvsMapping
  Part of Cmap14
VariationSelector
  Part of Cmap14

## Enums§

CmapSubtable
  The different cmap subtable formats.
CmapSubtableIter
  Iterator over all (codepoint, glyph identifier) pairs in the subtable.
MapVariant
  Result of mapping a codepoint with a variation selector.
PlatformId
  https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#platform-ids

## Type Aliases§

Cmap
  cmap
Cmap0
  cmap Format 0: Byte encoding table
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
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
DefaultUvs
  Default UVS table
NonDefaultUvs
  Non-Default UVS table