Namespace Rectify
Perform Rectification over the Font
Function Rectify.inPlaceRectifyFont<GS extends Ot.GlyphStore>(recGlyphRef,recAxes,recCoord,recPA,font):void
Perform in-place rectification of font
using a given rectifiers. The procedure will rectify all the glyph references, including the cross-references from the glyph geometries, but will not change the object identity of the glyph store and glyph objects within it.
Function Rectify.inPlaceRectifyFontAxes<GS extends Ot.GlyphStore>(recAxes,font):void
Function Rectify.inPlaceRectifyFontCoords<GS extends Ot.GlyphStore>(recCoord,recPA,font):void
Function Rectify.inPlaceRectifyFontGlyphReferences<GS extends Ot.GlyphStore>(rec,font):void
Perform Rectification over Font Structures
The functions below provides rectification over fonts' inner structures.
Function Rectify.inPlaceRectifyGlyphStore<GS extends Ot.GlyphStore>(recGlyphRef,recCoord,recPA,gs):GS· gs:GS The glyph store to process
Perform in-place rectification of a glyph store using a given rectifiers. The procedure will rectify all the glyph references, including the cross-references from the glyph geometries, but will not change the object identity of the glyph store and glyph objects within it.
Function Rectify.rectifyCffTable(recGlyphRef,recCoord,table):Ot.Cff.Table
Perform rectification for Ot.Cff.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyCvtTable(recCoord,table):Ot.Cvt.Table
Perform rectification for Ot.Cvt.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyBaseTable(recGlyphRef,recCoord,recPA,table):Ot.Base.Table
Perform rectification for Ot.Base.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyGdefTable(recGlyphRef,recCoord,recPA,table):Ot.Gdef.Table
Perform rectification for Ot.Gdef.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyGsubTable(recGlyphRef,recAxes,recCoord,recPA,table):Ot.Gsub.Table
Perform rectification for Ot.Gsub.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyGposTable(recGlyphRef,recAxes,recCoord,recPA,table):Ot.Gpos.Table
Perform rectification for Ot.Gpos.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyMathTable(recGlyphRef,recCoord,table):Ot.Math.Table
Perform rectification for Ot.Math.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyCmapTable(recGlyphRef,table):Ot.Cmap.Table
Perform rectification for Ot.Cmap.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyFvarTable(recAxes,table):Ot.Fvar.Table
Perform rectification for Ot.Fvar.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyAvarTable(recAxes,table):Ot.Avar.Table
Perform rectification for Ot.Avar.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyHheaTable(recCoord,table):Ot.Hhea.Table
Perform rectification for Ot.Hhea.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyVheaTable(recCoord,table):Ot.Vhea.Table
Perform rectification for Ot.Vhea.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyGaspTable(recCoord,table):Ot.Gasp.Table
Perform rectification for Ot.Gasp.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyOs2Table(recCoord,table):Ot.Os2.Table
Perform rectification for Ot.Os2.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyPostTable(recCoord,table):Ot.Post.Table
Perform rectification for Ot.Post.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyExtPrivateTable(recGlyphRef,table):Ot.XPrv.Table
Perform rectification for Ot.XPrv.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyTSI0123Table(recGlyphRef,table):Ot.TSI0123.Table
Perform rectification for Ot.TSI0123.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Function Rectify.rectifyTSI5Table(recGlyphRef,table):Ot.TSI5.Table
Perform rectification for Ot.TSI5.Table. Returns a new table with properties updated (no table-specific data structures are shared with the original).
Glyph Reference Rectifier
Interface Rectify.GlyphReferenceRectifier
Methods
Constant Rectify.IdGlyphRefRectifier : Rectify.GlyphReferenceRectifier
The identity (Nop) glyph reference rectifier.
Axis, Coordinate and Point Attachment Rectifier
Interface Rectify.AxisRectifier
Methods
- dim(from:Ot.Var.Dim):null | undefined | Ot.Var.Dim
- axis(from:Ot.Fvar.Dim):null | undefined | Ot.Fvar.Axis
Properties
- readonly addedAxes:readonly Ot.Fvar.Axis[]
Constant Rectify.IdAxisRectifier : Rectify.AxisRectifier
The identity (Nop) axis rectifier.
Interface Rectify.CoordRectifier
Methods
- coord(from:Ot.Var.Value):Ot.Var.Value
- cv(from:Ot.Var.Value):Ot.Var.Value
Constant Rectify.IdCoordRectifier : Rectify.CoordRectifier
The identity (Nop) coordinate rectifier.
Interface Rectify.PointAttachmentRectifier
Methods
-
acceptOffset(actual,desired):{x:boolean,y:boolean}
Properties
- readonly manner:Rectify.PointAttachmentRectifyManner
Enumeration Rectify.PointAttachmentRectifyManner
Constant Rectify.IdPointAttachmentRectifier : Rectify.PointAttachmentRectifier
The identity (Nop) point Attachment rectifier.