@pdfa-lab/fontkit / OS2Table / OS2V5
Interface: OS2V5 ​
Defined in: src/tables/OS2.ts:166
Extends ​
Properties ​
breakChar ​
breakChar:
number
Defined in: src/tables/OS2.ts:180
capHeight ​
capHeight:
number
Defined in: src/tables/OS2.ts:178
codePageRange ​
codePageRange: [
number,number]
Defined in: src/tables/OS2.ts:174
defaultChar ​
defaultChar:
number
Defined in: src/tables/OS2.ts:179
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
Inherited from ​
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
Inherited from ​
maxContent ​
maxContent:
number
Defined in: src/tables/OS2.ts:181
panose ​
panose:
number[]
Defined in: src/tables/OS2.ts:66
The description of the visual characteristics of a given typeface.
Inherited from ​
sFamilyClass ​
sFamilyClass:
number
Defined in: src/tables/OS2.ts:61
The classification of font-family design.
Inherited from ​
typoAscender ​
typoAscender:
number
Defined in: src/tables/OS2.ts:169
typoDescender ​
typoDescender:
number
Defined in: src/tables/OS2.ts:170
typoLineGap ​
typoLineGap:
number
Defined in: src/tables/OS2.ts:171
ulCharRange ​
ulCharRange:
number[]
Defined in: src/tables/OS2.ts:68
Inherited from ​
usFirstCharIndex ​
usFirstCharIndex:
number
Defined in: src/tables/OS2.ts:88
The minimum Unicode index in this font.
Inherited from ​
usLastCharIndex ​
usLastCharIndex:
number
Defined in: src/tables/OS2.ts:91
The maximum Unicode index in this font.
Inherited from ​
usLowerOpticalPointSize ​
usLowerOpticalPointSize:
number
Defined in: src/tables/OS2.ts:184
usUpperOpticalPointSize ​
usUpperOpticalPointSize:
number
Defined in: src/tables/OS2.ts:185
usWeightClass ​
usWeightClass:
number
Defined in: src/tables/OS2.ts:11
The visual weight of stroke in glyphs.
Inherited from ​
usWidthClass ​
usWidthClass:
number
Defined in: src/tables/OS2.ts:17
The relative change from the normal aspect ratio (width to height ratio).
Inherited from ​
vendorID ​
vendorID:
string
Defined in: src/tables/OS2.ts:71
The four character identifier for the font vendor.
Inherited from ​
version ​
version:
5
Defined in: src/tables/OS2.ts:168
winAscent ​
winAscent:
number
Defined in: src/tables/OS2.ts:172
winDescent ​
winDescent:
number
Defined in: src/tables/OS2.ts:173
xAvgCharWidth ​
xAvgCharWidth:
number
Defined in: src/tables/OS2.ts:8
The average weighted advance width of lower case letters and space.
Inherited from ​
xHeight ​
xHeight:
number
Defined in: src/tables/OS2.ts:177
yStrikeoutPosition ​
yStrikeoutPosition:
number
Defined in: src/tables/OS2.ts:58
The position of the strikeout stroke relative to the baseline.
Inherited from ​
yStrikeoutSize ​
yStrikeoutSize:
number
Defined in: src/tables/OS2.ts:55
Inherited from ​
ySubscriptXOffset ​
ySubscriptXOffset:
number
Defined in: src/tables/OS2.ts:35
The recommended horizontal offset for subscripts.
Inherited from ​
ySubscriptXSize ​
ySubscriptXSize:
number
Defined in: src/tables/OS2.ts:29
The recommended horizontal size in pixels for subscripts.
Inherited from ​
ySubscriptYOffset ​
ySubscriptYOffset:
number
Defined in: src/tables/OS2.ts:38
The recommended vertical offset from the baseline for subscripts.
Inherited from ​
ySubscriptYSize ​
ySubscriptYSize:
number
Defined in: src/tables/OS2.ts:32
The recommended horizontal size in pixels for subscripts.
Inherited from ​
ySuperscriptXOffset ​
ySuperscriptXOffset:
number
Defined in: src/tables/OS2.ts:47
The recommended horizontal offset for superscripts
Inherited from ​
ySuperscriptXSize ​
ySuperscriptXSize:
number
Defined in: src/tables/OS2.ts:41
The recommended horizontal size in pixels for superscripts.
Inherited from ​
ySuperscriptYOffset ​
ySuperscriptYOffset:
number
Defined in: src/tables/OS2.ts:52
The recommended vertical offset from the baseline for superscripts.
Inherited from ​
ySuperscriptYSize ​
ySuperscriptYSize:
number
Defined in: src/tables/OS2.ts:44
The recommended vertical size in pixels for superscripts.