@pdfa-lab/fontkit / OS2Table / OS2Header
Interface: OS2Header ​
Defined in: src/tables/OS2.ts:4
Extended by ​
Properties ​
fsSelection ​
fsSelection:
object
Defined in: src/tables/OS2.ts:74
A bit field containing information about the font.
bold ​
bold:
boolean
italic ​
italic:
boolean
negative ​
negative:
boolean
oblique ​
oblique:
boolean
outlined ​
outlined:
boolean
regular ​
regular:
boolean
strikeout ​
strikeout:
boolean
underscore ​
underscore:
boolean
useTypoMetrics ​
useTypoMetrics:
boolean
wws ​
wws:
boolean
fsType ​
fsType:
object
Defined in: src/tables/OS2.ts:20
The indication of font embedding licensing rights.
bitmapOnly ​
bitmapOnly:
boolean
editable ​
editable:
boolean
noEmbedding ​
noEmbedding:
boolean
noSubsetting ​
noSubsetting:
boolean
viewOnly ​
viewOnly:
boolean
panose ​
panose:
number[]
Defined in: src/tables/OS2.ts:66
The description of the visual characteristics of a given typeface.
sFamilyClass ​
sFamilyClass:
number
Defined in: src/tables/OS2.ts:61
The classification of font-family design.
ulCharRange ​
ulCharRange:
number[]
Defined in: src/tables/OS2.ts:68
usFirstCharIndex ​
usFirstCharIndex:
number
Defined in: src/tables/OS2.ts:88
The minimum Unicode index in this font.
usLastCharIndex ​
usLastCharIndex:
number
Defined in: src/tables/OS2.ts:91
The maximum Unicode index in this font.
usWeightClass ​
usWeightClass:
number
Defined in: src/tables/OS2.ts:11
The visual weight of stroke in glyphs.
usWidthClass ​
usWidthClass:
number
Defined in: src/tables/OS2.ts:17
The relative change from the normal aspect ratio (width to height ratio).
vendorID ​
vendorID:
string
Defined in: src/tables/OS2.ts:71
The four character identifier for the font vendor.
xAvgCharWidth ​
xAvgCharWidth:
number
Defined in: src/tables/OS2.ts:8
The average weighted advance width of lower case letters and space.
yStrikeoutPosition ​
yStrikeoutPosition:
number
Defined in: src/tables/OS2.ts:58
The position of the strikeout stroke relative to the baseline.
yStrikeoutSize ​
yStrikeoutSize:
number
Defined in: src/tables/OS2.ts:55
ySubscriptXOffset ​
ySubscriptXOffset:
number
Defined in: src/tables/OS2.ts:35
The recommended horizontal offset for subscripts.
ySubscriptXSize ​
ySubscriptXSize:
number
Defined in: src/tables/OS2.ts:29
The recommended horizontal size in pixels for subscripts.
ySubscriptYOffset ​
ySubscriptYOffset:
number
Defined in: src/tables/OS2.ts:38
The recommended vertical offset from the baseline for subscripts.
ySubscriptYSize ​
ySubscriptYSize:
number
Defined in: src/tables/OS2.ts:32
The recommended horizontal size in pixels for subscripts.
ySuperscriptXOffset ​
ySuperscriptXOffset:
number
Defined in: src/tables/OS2.ts:47
The recommended horizontal offset for superscripts
ySuperscriptXSize ​
ySuperscriptXSize:
number
Defined in: src/tables/OS2.ts:41
The recommended horizontal size in pixels for superscripts.
ySuperscriptYOffset ​
ySuperscriptYOffset:
number
Defined in: src/tables/OS2.ts:52
The recommended vertical offset from the baseline for superscripts.
ySuperscriptYSize ​
ySuperscriptYSize:
number
Defined in: src/tables/OS2.ts:44
The recommended vertical size in pixels for superscripts.