Namespace Rectify

Perform Rectification over the Font

Function Rectify.inPlaceRectifyFont<GS extends Ot.GlyphStore>(recGlyphRef,​recAxes,​recCoord,​recPA,​font):​void
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recAxes:Rectify.AxisRectifier Axis rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· font:Ot.Font<GS> The font to process

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
· recAxes:Rectify.AxisRectifier Axis rectifier
· font:Ot.Font<GS> The font to process

Function Rectify.inPlaceRectifyFontCoords<GS extends Ot.GlyphStore>(recCoord,​recPA,​font):​void
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· font:Ot.Font<GS> The font to process

Function Rectify.inPlaceRectifyFontGlyphReferences<GS extends Ot.GlyphStore>(rec,​font):​void
· rec:Rectify.GlyphReferenceRectifier The Rectifier
· font:Ot.Font<GS> The font to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· 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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Cff.Table The table to process

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
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Cvt.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· table:Ot.Base.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· table:Ot.Gdef.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recAxes:Rectify.AxisRectifier Axis rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· table:Ot.Gsub.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recAxes:Rectify.AxisRectifier Axis rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· recPA:Rectify.PointAttachmentRectifier Point Attachment rectifier
· table:Ot.Gpos.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Math.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· table:Ot.Cmap.Table The table to process

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
· recAxes:Rectify.AxisRectifier Axis rectifier
· table:Ot.Fvar.Table The table to process

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
· recAxes:Rectify.AxisRectifier Axis rectifier
· table:Ot.Avar.Table The table to process

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
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Hhea.Table The table to process

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
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Vhea.Table The table to process

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
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Gasp.Table The table to process

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
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Os2.Table The table to process

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
· recCoord:Rectify.CoordRectifier Coordinate rectifier
· table:Ot.Post.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· table:Ot.XPrv.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· table:Ot.TSI0123.Table The table to process

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
· recGlyphRef:Rectify.GlyphReferenceRectifier Glyph reference rectifier
· table:Ot.TSI5.Table The table to process

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

Properties

Constant Rectify.IdAxisRectifier : Rectify.AxisRectifier

The identity (Nop) axis rectifier.

Interface Rectify.CoordRectifier

Methods

Constant Rectify.IdCoordRectifier : Rectify.CoordRectifier

The identity (Nop) coordinate rectifier.

Interface Rectify.PointAttachmentRectifier

Methods

Properties

Enumeration Rectify.PointAttachmentRectifyManner

Constant Rectify.IdPointAttachmentRectifier : Rectify.PointAttachmentRectifier

The identity (Nop) point Attachment rectifier.