Namespace Ot.Cff
CFF(2) Table Types
Class Ot.Cff.Table
Constructor
-
new Ot.Cff.Table(version:number)
Creates a CFF Table object with given version. Valid version numbers are
1
and2
.
Properties
-
postScriptFontName:string
The name of the font in PostScript. Valid in CFF1.
- cid:Data.Maybe<Ot.Cff.CID>
- topDict:Ot.Cff.FontDict
- fdArray:Data.Maybe<Ot.Cff.FontDict[]>
- fdSelect:Data.Maybe<Map<Ot.Glyph,number>>
Font Dict and Private Dict
Class Ot.Cff.FontDict
Constructor
- new Ot.Cff.FontDict()
Properties
- PostScript font names
- version:Data.Maybe<string>
- notice:Data.Maybe<string>
- copyright:Data.Maybe<string>
- fullName:Data.Maybe<string>
- familyName:Data.Maybe<string>
- weight:Data.Maybe<string>
- CFF1 Properties
- isFixedPitch:boolean
- italicAngle:number
- underlinePosition:number
- underlineThickness:number
- paintType:number
- readonly charStringType:number
- strokeWidth:number
- privateDict:Data.Maybe<Ot.Cff.PrivateDict>
- fontMatrix:Data.Maybe<Ot.Glyph.Transform2X3>
- CID-specific properties
- cidFontName:Data.Maybe<string>
- cidFontVersion:number
- cidFontRevision:number
- cidFontType:number
- cidCount:number
Class Ot.Cff.PrivateDict
Constructor
- new Ot.Cff.PrivateDict()
Properties
- CFF1 and CFF2 Properties
- blueValues:Ot.Var.Value[]
- otherBlues:Ot.Var.Value[]
- familyBlues:Ot.Var.Value[]
- familyOtherBlues:Ot.Var.Value[]
- stemSnapH:Ot.Var.Value[]
- stemSnapV:Ot.Var.Value[]
- blueScale:Ot.Var.Value
- blueShift:Ot.Var.Value
- blueFuzz:Ot.Var.Value
- stdHW:Ot.Var.Value
- stdVW:Ot.Var.Value
- languageGroup:number
- expansionFactor:Ot.Var.Value
- defaultWidthX:number
- nominalWidthX:number
- CFF1-specific Properties
- forceBold:boolean
- initialRandomSeed:number
CID-specific Types
Class Ot.Cff.CID
Constructor
- new Ot.Cff.CID()
Properties
- registry:string
- ordering:string
- supplement:string
- mapping:Data.Maybe<Map<number,Ot.Glyph>>