Namespace Ot.Math
Math Table
Constant Ot.Math.Tag = "MATH"
Class Ot.Math.Table
Constructor
-
new Ot.Base.Table(constants?,glyphInfo?,variants?)
Properties
- constants:Data.Maybe<Ot.Math.Constants>
- glyphInfo:Data.Maybe<Ot.Math.GlyphInfo>
- variants:Data.Maybe<Ot.Math.Variants>
Math Constants
Class Ot.Math.Constants
Constructor
- new Ot.Math.Constants()
Properties
- scriptPercentScaleDown:number
- scriptScriptPercentScaleDown:number
- delimitedSubFormulaMinHeight:Ot.Var.Value
- displayOperatorMinHeight:Ot.Var.Value
- mathLeading:Ot.Math.ValueRecord
- axisHeight:Ot.Math.ValueRecord
- accentBaseHeight:Ot.Math.ValueRecord
- flattenedAccentBaseHeight:Ot.Math.ValueRecord
- subscriptShiftDown:Ot.Math.ValueRecord
- subscriptTopMax:Ot.Math.ValueRecord
- subscriptBaselineDropMin:Ot.Math.ValueRecord
- superscriptShiftUp:Ot.Math.ValueRecord
- superscriptShiftUpCramped:Ot.Math.ValueRecord
- superscriptBottomMin:Ot.Math.ValueRecord
- superscriptBaselineDropMax:Ot.Math.ValueRecord
- subSuperscriptGapMin:Ot.Math.ValueRecord
- superscriptBottomMaxWithSubscript:Ot.Math.ValueRecord
- spaceAfterScript:Ot.Math.ValueRecord
- upperLimitGapMin:Ot.Math.ValueRecord
- upperLimitBaselineRiseMin:Ot.Math.ValueRecord
- lowerLimitGapMin:Ot.Math.ValueRecord
- lowerLimitBaselineDropMin:Ot.Math.ValueRecord
- stackTopShiftUp:Ot.Math.ValueRecord
- stackTopDisplayStyleShiftUp:Ot.Math.ValueRecord
- stackBottomShiftDown:Ot.Math.ValueRecord
- stackBottomDisplayStyleShiftDown:Ot.Math.ValueRecord
- stackGapMin:Ot.Math.ValueRecord
- stackDisplayStyleGapMin:Ot.Math.ValueRecord
- stretchStackTopShiftUp:Ot.Math.ValueRecord
- stretchStackBottomShiftDown:Ot.Math.ValueRecord
- stretchStackGapAboveMin:Ot.Math.ValueRecord
- stretchStackGapBelowMin:Ot.Math.ValueRecord
- fractionNumeratorShiftUp:Ot.Math.ValueRecord
- fractionNumeratorDisplayStyleShiftUp:Ot.Math.ValueRecord
- fractionDenominatorShiftDown:Ot.Math.ValueRecord
- fractionDenominatorDisplayStyleShiftDown:Ot.Math.ValueRecord
- fractionNumeratorGapMin:Ot.Math.ValueRecord
- fractionNumDisplayStyleGapMin:Ot.Math.ValueRecord
- fractionRuleThickness:Ot.Math.ValueRecord
- fractionDenominatorGapMin:Ot.Math.ValueRecord
- fractionDenomDisplayStyleGapMin:Ot.Math.ValueRecord
- skewedFractionHorizontalGap:Ot.Math.ValueRecord
- skewedFractionVerticalGap:Ot.Math.ValueRecord
- overbarVerticalGap:Ot.Math.ValueRecord
- overbarRuleThickness:Ot.Math.ValueRecord
- overbarExtraAscender:Ot.Math.ValueRecord
- underbarVerticalGap:Ot.Math.ValueRecord
- underbarRuleThickness:Ot.Math.ValueRecord
- underbarExtraDescender:Ot.Math.ValueRecord
- radicalVerticalGap:Ot.Math.ValueRecord
- radicalDisplayStyleVerticalGap:Ot.Math.ValueRecord
- radicalRuleThickness:Ot.Math.ValueRecord
- radicalExtraAscender:Ot.Math.ValueRecord
- radicalKernBeforeDegree:Ot.Math.ValueRecord
- radicalKernAfterDegree:Ot.Math.ValueRecord
- radicalDegreeBottomRaisePercent:number
Math Glyph Info
Class Ot.Math.GlyphInfo
Constructor
-
new Ot.Math.GlyphInfo(italicCorrections?,topAccentAttachments?,extendedShapes?,kernInfos?)
Properties
- italicCorrections:Map<Ot.Glyph,Ot.Math.ValueRecord>
- topAccentAttachments:Map<Ot.Glyph,Ot.Math.ValueRecord>
- extendedShapes:Data.Maybe<Set<Ot.Glyph>>
- kernInfos:Map<Ot.Glyph,Ot.Math.KernInfo>
Class Ot.Math.KernInfo
Constructor
-
new Ot.Math.KernInfo(topRight?,topLeft?,bottomRight?,bottomLeft?)
Properties
- topRight:Data.Maybe<Ot.Math.Kern>
- topLeft:Data.Maybe<Ot.Math.Kern>
- bottomRight:Data.Maybe<Ot.Math.Kern>
- bottomLeft:Data.Maybe<Ot.Math.Kern>
Class Ot.Math.Kern
Constructor
-
new Ot.Math.Kern(kernValue?,corrections?)
Properties
Math Variants
Class Ot.Math.Variants
Constructor
-
new Ot.Math.Variants(minConnectorOverlap?,vertical?,horizontal?)
Properties
- minConnectorOverlap:Ot.Var.Value
- vertical:Data.Maybe<Map<Ot.Glyph,Ot.Math.GlyphConstruction>>
- horizontal:Data.Maybe<Map<Ot.Glyph,Ot.Math.GlyphConstruction>>
Class Ot.Math.GlyphConstruction
Constructor
-
new Ot.Math.GlyphConstruction(assembly?,variants?)
Properties
Class Ot.Math.GlyphVariantRecord
Constructor
-
new Ot.Math.GlyphVariantRecord(variantGlyph,advanceMeasurement)
Properties
Class Ot.Math.GlyphAssembly
Constructor
-
new Ot.Math.GlyphAssembly(italicCorrection,parts)
Properties
Class Ot.Math.GlyphPart
Constructor
-
new Ot.Math.GlyphPart(partGlyph,startConnectorLength,endConnectorLength,fullAdvance,flags)
Properties
- partGlyph:Ot.Glyph
- startConnectorLength:Ot.Var.Value
- endConnectorLength:Ot.Var.Value
- fullAdvance:Ot.Var.Value
- flags:Ot.Math.GlyphPartFlags
Enumeration Ot.Math.GlyphPartFlags
- Extender = 1
Math Value
Datatype Ot.Math.ValueRecord
Properties
- readonly value:Ot.Var.Value
- readonly device?:Data.Maybe<readonly number[]>