Skip to main content

Module layout

Module layout 

Source
Expand description

OpenType Layout common table formats

Modulesยง

closure ๐Ÿ”’
Support Layout Closure
condition ๐Ÿ”’
Shared evaluation of layout and VARC conditions.
feature ๐Ÿ”’
Additional support for working with OpenType features.
feature_variations ๐Ÿ”’
Lookup variations (ISO/IEC 14496-22:2026, 6.2.11).
header ๐Ÿ”’
Header-selected lookup lists and offset arrays of more than one width.
lookup_flag ๐Ÿ”’
The lookup flag type.
script ๐Ÿ”’
Additional support for working with OpenType scripts and language systems.

Structsยง

ChainedClassSequenceRule
Part of ChainedSequenceContextFormat2
ChainedClassSequenceRuleSet
Part of ChainedSequenceContextFormat2
ChainedClassSequenceRuleSet2
ChainedClassSequenceRuleSet2 (ISO/IEC 14496-22:2026).
ChainedSequenceContextFormat1
Chained Sequence Context Format 1
ChainedSequenceContextFormat2
Chained Sequence Context Format 2
ChainedSequenceContextFormat3
Chained Sequence Context Format 3
ChainedSequenceContextFormat4
ChainedSequenceContextFormat4 (ISO/IEC 14496-22:2026).
ChainedSequenceContextFormat5
ChainedSequenceContextFormat5 (ISO/IEC 14496-22:2026).
ChainedSequenceRule
Part of ChainedSequenceContextFormat1
ChainedSequenceRule2
ChainedSequenceRule2 (ISO/IEC 14496-22:2026).
ChainedSequenceRuleSet
Part of ChainedSequenceContextFormat1
ChainedSequenceRuleSet2
ChainedSequenceRuleSet2 (ISO/IEC 14496-22:2026).
CharacterVariantParams
featureParams for โ€˜cv01โ€™-โ€˜cv99โ€™
ClassDefFormat1
Class Definition Table Format 1
ClassDefFormat2
Class Definition Table Format 2
ClassDefFormat3
ClassDefFormat3 (ISO/IEC 14496-22:2026).
ClassDefFormat4
ClassDefFormat4 (ISO/IEC 14496-22:2026).
ClassRangeRecord
Used in ClassDefFormat2
ClassRangeRecord2
ClassRangeRecord2 (ISO/IEC 14496-22:2026).
ClassSequenceRule
Part of SequenceContextFormat2
ClassSequenceRuleSet
Part of SequenceContextFormat2
ClassSequenceRuleSet2
ClassSequenceRuleSet2 (ISO/IEC 14496-22:2026).
ConditionFormat1
Condition Table Format 1: Font Variation Axis Range
ConditionFormat2
Condition Table Format 2: Variation index
ConditionFormat3
Condition Table Format 3: AND
ConditionFormat4
Condition Table Format 4: OR
ConditionFormat5
Condition Table Format 5: NOT
ConditionSet
ConditionSet Table
CoverageFormat1
Coverage Format 1
CoverageFormat2
Coverage Format 2
CoverageFormat3
CoverageFormat3 (ISO/IEC 14496-22:2026).
CoverageFormat4
CoverageFormat4 (ISO/IEC 14496-22:2026).
Device
Device Table
Feature
Feature Table
FeatureList
Feature List Table
FeatureLookups
Conditional lookup sets for one feature (ISO/IEC 14496-22:2026, 6.2.11).
FeatureLookupsFlags
Qualifiers for FeatureLookups.
FeatureRecord
Part of FeatureList
FeatureTableSubstitution
FeatureTableSubstitution Table
FeatureTableSubstitutionRecord
Used in FeatureTableSubstitution
FeatureVariationRecord
Part of FeatureVariations
FeatureVariations
FeatureVariations Table Version 1.1 is defined in ISO/IEC 14496-22:2026, 6.2.11.
LangSys
Language System Table
LangSysRecord
Lookup
Lookup Table
LookupConditionRecord
Lookups to include when a condition is true.
LookupFlag
The LookupFlag bit enumeration.
LookupIndexList
Indices into the GSUB or GPOS LookupList.
LookupList
Lookup List Table
LookupList2
LookupList2 (ISO/IEC 14496-22:2026).
LookupVariationRecord
Lookup variations for one feature (ISO/IEC 14496-22:2026, 6.2.11).
LookupVariations
The lookup variations of a FeatureVariations table, which change the lookups of a feature depending on the location in design space.
RangeRecord
Used in CoverageFormat2
RangeRecord2
RangeRecord2 (ISO/IEC 14496-22:2026).
Script
Script Table
ScriptList
Script List Table
ScriptRecord
Script Record
ScriptTags
A prioritized list of OpenType script tags mapped from a Unicode script tag.
SelectedFeatureVariations
Which features variation indices were selected for a given location.
SelectedScript
A script chosen from a set of candidate tags.
SequenceContextFormat1
Sequence Context Format 1
SequenceContextFormat2
Sequence Context Format 2
SequenceContextFormat3
Sequence Context Format 3
SequenceContextFormat4
SequenceContextFormat4 (ISO/IEC 14496-22:2026).
SequenceContextFormat5
SequenceContextFormat5 (ISO/IEC 14496-22:2026).
SequenceContextFormat6
SequenceContextFormat6 (ISO/IEC 14496-22:2026).
SequenceLookupRecord
Sequence Lookup Record
SequenceRule
Part of SequenceContextFormat1
SequenceRule2
SequenceRule2 (ISO/IEC 14496-22:2026).
SequenceRuleSet
Part of SequenceContextFormat1
SequenceRuleSet2
SequenceRuleSet2 (ISO/IEC 14496-22:2026).
SizeParams
StylisticSetParams
TaggedElement
Combination of a tag and a child table.
VariationIndex
Variation index table

Enumsยง

ChainedSequenceContext
ClassDef
A Class Definition Table
Condition
Condition Table
CoverageTable
Coverage Table
DeltaFormat
Device delta formats
DeviceOrVariationIndex
Either a Device table (in a non-variable font) or a VariationIndex table (in a variable font)
FeatureParams
An enum for different possible tables referenced by Feature::feature_params_offset
LayoutOffsetArray
An offset array whose serialized offsets have one of the layout widths.
SelectedLookupList
The lookup list of a GSUB or GPOS table: the original LookupList, or the LookupList2 of a version 1.2 header.
SequenceContext
Subtables
an array of subtables, maybe behind extension lookups

Traitsยง

ExtensionLookup
A trait that abstracts the behaviour of an extension subtable
Intersect

Functionsยง

bit_storage ๐Ÿ”’
iter_packed_values ๐Ÿ”’
store_deltas
Returns a delta function for Condition::evaluate that reads store, usually the GDEF variation store.