Gsub and Gpos
Common Structure (Namespace Ot.GsubGpos)
Datatype Ot.GsubGpos.TableT<L>
Properties
- scripts:Map<Tag,Ot.GsubGpos.ScriptT<L>>
- features:Ot.GsubGpos.FeatureT<L>[]
- lookups:L[]
- featureVariations:Data.Maybe<Ot.GsubGpos.FeatureVariationT<L>[]>
Datatype Ot.GsubGpos.ScriptT<L>
Members
- defaultLanguage:Data.Maybe<Ot.GsubGpos.LanguageT<L>>
- languages:Map<Tag,Ot.GsubGpos.LanguageT<L>>
Datatype Ot.GsubGpos.LanguageT<L>
Members
Datatype Ot.GsubGpos.FeatureT<L>
Members
- tag:Tag
- lookups:L[]
- params?:Data.Maybe<Sigma.DependentPair>
Datatype Ot.GsubGpos.AxisRangeCondition
Aliased as Ot.Gsub.AxisRangeCondition, Ot.Gpos.AxisRangeCondition.
Members
- dim:Ot.Var.Dim
- min:number
- max:number
Type Alias Ot.GsubGpos.FeatureVariationCondition = Ot.GsubGpos.AxisRangeCondition
Aliased as Ot.Gsub.FeatureVariationCondition, Ot.Gpos.FeatureVariationCondition.
Datatype Ot.GsubGpos.FeatureVariationT<L>
Members
- conditions:Ot.GsubGpos.FeatureVariationCondition[]
- substitutions:Map<Ot.GsubGpos.FeatureT<L>,Ot.GsubGpos.FeatureT<L>>
Interface Ot.GsubGpos.LookupProp
Aliased as Ot.Gsub.LookupProp, Ot.Gpos.LookupProp.
Properties
- rightRoLeft:boolean
- ignoreGlyphs:Data.Maybe<Set<Ot.Glyph>>
Namespace Ot.Gsub
Constant Ot.Gsub.Tag = "GSUB"
Type Ot.Gsub.Table
Implements
Factory Methods
-
new Ot.Gsub.Table(scripts?,features?,lookups?,featureVariations?)
Datatype Ot.Gsub.Script
Defined as Ot.GsubGpos.ScriptT<Ot.Gsub.Lookup>
Datatype Ot.Gsub.Language
Defined as Ot.GsubGpos.LanguageT<Ot.Gsub.Lookup>
Datatype Ot.Gsub.Feature
Defined as Ot.GsubGpos.FeatureT<Ot.Gsub.Lookup>
Datatype Ot.Gsub.FeatureVariation
Defined as Ot.GsubGpos.FeatureVariationT<Ot.Gsub.Lookup>
Type Ot.Gsub.Lookup
Defined as a union of the following cases:
- Ot.Gsub.Single
- Ot.Gsub.Multiple
- Ot.Gsub.Alternate
- Ot.Gsub.Ligature
- Ot.Gsub.Chaining
- Ot.Gsub.ReverseSub
Properties
- readonly type:unique symbol
Case Class Ot.Gsub.Single | type = Ot.Gsub.LookupType.Single
Implements
Constructor
- new Ot.Gsub.Single(props?:Ot.Gsub.SingleProp)
Datatype Ot.Gsub.SingleProp
Inherits
Properties
Case Class Ot.Gsub.Multiple | type = Ot.Gsub.LookupType.Multiple
Implements
Constructor
- new Ot.Gsub.Multiple(props?:Ot.Gsub.MultipleAlternateProp)
Case Class Ot.Gsub.Alternate | type = Ot.Gsub.LookupType.Alternate
Implements
Constructor
- new Ot.Gsub.Alternate(props?:Ot.Gsub.MultipleAlternateProp)
Datatype Ot.Gsub.MultipleAlternateProp
Inherits
Properties
Case Class Ot.Gsub.Ligature | type = Ot.Gsub.LookupType.Ligature
Implements
Constructor
- new Ot.Gsub.Ligature(props?:Ot.Gsub.LigatureProp)
Datatype Ot.Gsub.LigatureProp
Inherits
Properties
Datatype Ot.Gsub.LigatureEntry
Properties
Case Class Ot.Gsub.Chaining | type = Ot.Gsub.LookupType.Chaining
Implements
Constructor
- new Ot.Gsub.Chaining(props?:Ot.GsubGpos.ChainingProp<Ot.Gsub.Lookup>)
Case Class Ot.Gsub.ReverseSub | type = Ot.Gsub.LookupType.ReverseSub
Implements
Constructor
- new Ot.Gsub.ReverseSub(props?:Ot.Gsub.ReverseSubProp)
Datatype Ot.Gsub.ReverseSubProp
Inherits
Properties
Datatype Ot.Gsub.ReverseRule
Properties
Namespace Ot.Gpos
Constant Ot.Gpos.Tag = "GPOS"
Type Ot.Gpos.Table
Implements
Factory Methods
-
new Ot.Gpos.Table(scripts?,features?,lookups?,featureVariations?)
Datatype Ot.Gpos.Script
Defined as Ot.GsubGpos.ScriptT<Ot.Gpos.Lookup>
Datatype Ot.Gpos.Language
Defined as Ot.GsubGpos.LanguageT<Ot.Gpos.Lookup>
Datatype Ot.Gpos.Feature
Defined as Ot.GsubGpos.FeatureT<Ot.Gpos.Lookup>
Datatype Ot.Gpos.FeatureVariation
Defined as Ot.GsubGpos.FeatureVariationT<Ot.Gpos.Lookup>
Type Ot.Gpos.Lookup
Defined as a union of the following cases:
- Ot.Gpos.Single
- Ot.Gpos.Pair
- Ot.Gpos.Cursive
- Ot.Gpos.MarkToBase
- Ot.Gpos.MarkToLigature
- Ot.Gpos.MarkToMark
- Ot.Gpos.Chaining
Properties
- readonly type:unique symbol
Case Class Ot.Gpos.Single | type = Ot.Gpos.LookupType.Multiple
Implements
Constructor
- new Ot.Gpos.Single(props?:Ot.Gpos.SingleProp)
Datatype Ot.Gpos.SingleProp
Inherits
Properties
Case Class Ot.Gpos.Pair | type = Ot.Gpos.LookupType.Pair
Implements
Constructor
- new Ot.Gpos.Pair(props?:Ot.Gpos.PairProp)
Datatype Ot.Gpos.PairProp
Inherits
Properties
Case Class Ot.Gpos.Cursive | type = Ot.Gpos.LookupType.Cursive
Implements
Constructor
- new Ot.Gpos.Cursive(props?:Ot.Gpos.CursiveProp)
Datatype Ot.Gpos.CursiveProp
Inherits
Properties
Case Class Ot.Gpos.MarkToBase | type = Ot.Gpos.LookupType.MarkToBase
Implements
Constructor
- new Ot.Gpos.MarkToBase(props?:Ot.Gpos.MarkToBaseProp)
Datatype Ot.Gpos.MarkToBaseProp
Inherits
Properties
- marks:Map<Ot.Glyph,Ot.Gpos.MarkRecord>
- bases:Map<Ot.Glyph,Ot.Gpos.BaseRecord>
Case Class Ot.Gpos.MarkToLigature | type = Ot.Gpos.LookupType.MarkToLigature
Implements
Constructor
- new Ot.Gpos.MarkToLigature(props?:Ot.Gpos.MarkToLigatureProp)
Datatype Ot.Gpos.MarkToLigatureProp
Inherits
Properties
- marks:Map<Ot.Glyph,Ot.Gpos.MarkRecord>
- bases:Map<Ot.Glyph,Ot.Gpos.LigatureBaseRecord>
Case Class Ot.Gpos.MarkToMark | type = Ot.Gpos.LookupType.MarkToMark
Implements
Constructor
- new Ot.Gpos.MarkToMark(props?:Ot.Gpos.MarkToMarkProp)
Datatype Ot.Gpos.MarkToMarkProp
Inherits
Properties
- marks:Map<Ot.Glyph,Ot.Gpos.MarkRecord>
- baseMarks:Map<Ot.Glyph,Ot.Gpos.BaseRecord>
Case Class Ot.Gpos.Chaining | type = Ot.Gpos.LookupType.Chaining
Implements
Constructor
- new Ot.Gpos.Chaining(props?:Ot.GsubGpos.ChainingProp<Ot.Gpos.Lookup>)
Shared Chaining Lookup
Datatype Ot.GsubGpos.ChainingProp<E>
Aliased as Ot.Gsub.ChainingProp<E>, Ot.Gpos.ChainingProp<E>
Inherits
Properties
Datatype Ot.GsubGpos.ChainingRule<E>
Aliased as Ot.Gsub.ChainingRule<E>, Ot.Gpos.ChainingRule<E>
Properties
- match:Set<Ot.Glyph>[]
- inputBegins:number
- inputEnds:number
- applications:Ot.GsubGpos.ChainingApplication<E>[]
Datatype Ot.GsubGpos.ChainingApplication<E>
Aliased as Ot.Gsub.ChainingApplication<E>, Ot.Gpos.ChainingApplication<E>
Properties
Shared GSUB + GPOS Support Types
Type Ot.GsubGpos.Coverage = Set<Ot.Glyph>
Also aliased as Ot.Gsub.Coverage, Ot.Gpos.Coverage
Type Ot.GsubGpos.ClassDef = Map<Ot.Glyph,number>
Also aliased as Ot.Gsub.ClassDef, Ot.Gpos.ClassDef
Datatype Ot.Gpos.Adjustment
Properties
- readonly dX:Ot.Var
- readonly dXDevice?:Data.Maybe<readonly number[]>
- readonly dY:Ot.Var
- readonly dYDevice?:Data.Maybe<readonly number[]>
- readonly dWidth:Ot.Var
- readonly dWidthDevice?:Data.Maybe<readonly number[]>
- readonly dHeight:Ot.Var
- readonly dHeightDevice?:Data.Maybe<readonly number[]>
Datatype Ot.Gpos.AdjustmentPair = [Ot.Gpos.Adjustment,Ot.Gpos.Adjustment]
Datatype Ot.Gpos.Anchor
Properties
- readonly x:Ot.Var
- readonly xDevice?:Data.Maybe<readonly number[]>
- readonly y:Ot.Var
- readonly yDevice?:Data.Maybe<readonly number[]>
- readonly pointAttachment?:Data.Maybe<Ot.Gdef.PointIDRef>
Datatype Ot.Gpos.CursiveAnchorPair
Properties
- readonly entry:Data.Maybe<Ot.Gpos.Anchor>
- readonly exit:Data.Maybe<Ot.Gpos.Anchor>
Datatype Ot.Gpos.MarkRecord
Properties
Datatype Ot.Gpos.BaseRecord
Properties
Datatype Ot.Gpos.LigatureBaseRecord
Properties
Feature Parameters (Ot.GsubGpos.FeatureParams)
This namespace is aliased as Ot.Gsub.FeatureParams and Ot.Gpos.FeatureParams.
Datatype Ot.GsubGpos.FeatureParams.StylisticSet
Type ID
Members
- readonly uiNameID:number
Datatype Ot.GsubGpos.FeatureParams.CharacterVariant
Type ID
Members
- readonly featUiLabelNameId:number
- readonly featUiTooltipTextNameId:number
- readonly sampleTextNameId:number
- readonly numNamedParameters:number
- readonly firstParamUiLabelNameId:number
- readonly characters:readonly number[]
Dicing Store
Opaque Type Ot.DicingStore<X,Y,D>
Factory Methods
- Ot.DicingStore.create(rep?:Ot.DicingStoreRep<X,Y,D>)
Methods
- get(x:X,y:Y):Data.Maybe<D>
- getByClass(cx:number,cy:number):Data.Maybe<D>
- getXClassDef():X[][]
- getYClassDef():Y[][]
- entries():IterableIterator<[X,Y,Data.Maybe<D>]>
- set(x:Iterable<X>,y:Iterable<Y>,value:D):void
- setIfAbsent(x:Iterable<X>,y:Iterable<Y>,value:D):void
- update(x:Iterable<X>,y:Iterable<Y>,fn:(original:Data.Maybe<D>)=>Data.Maybe<D>):void
- toRep():Ot.DicingStoreRep<X,Y,D>