Skip to content

@pdfa-lab/fontkit / OS2Table / OS2V3

Interface: OS2V3 ​

Defined in: src/tables/OS2.ts:130

Extends ​

Properties ​

breakChar ​

breakChar: number

Defined in: src/tables/OS2.ts:144


capHeight ​

capHeight: number

Defined in: src/tables/OS2.ts:142


codePageRange ​

codePageRange: [number, number]

Defined in: src/tables/OS2.ts:138


defaultChar ​

defaultChar: number

Defined in: src/tables/OS2.ts:143


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 ​

OS2Header.fsSelection


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 ​

OS2Header.fsType


maxContent ​

maxContent: number

Defined in: src/tables/OS2.ts:145


panose ​

panose: number[]

Defined in: src/tables/OS2.ts:66

The description of the visual characteristics of a given typeface.

Inherited from ​

OS2Header.panose


sFamilyClass ​

sFamilyClass: number

Defined in: src/tables/OS2.ts:61

The classification of font-family design.

Inherited from ​

OS2Header.sFamilyClass


typoAscender ​

typoAscender: number

Defined in: src/tables/OS2.ts:133


typoDescender ​

typoDescender: number

Defined in: src/tables/OS2.ts:134


typoLineGap ​

typoLineGap: number

Defined in: src/tables/OS2.ts:135


ulCharRange ​

ulCharRange: number[]

Defined in: src/tables/OS2.ts:68

Inherited from ​

OS2Header.ulCharRange


usFirstCharIndex ​

usFirstCharIndex: number

Defined in: src/tables/OS2.ts:88

The minimum Unicode index in this font.

Inherited from ​

OS2Header.usFirstCharIndex


usLastCharIndex ​

usLastCharIndex: number

Defined in: src/tables/OS2.ts:91

The maximum Unicode index in this font.

Inherited from ​

OS2Header.usLastCharIndex


usWeightClass ​

usWeightClass: number

Defined in: src/tables/OS2.ts:11

The visual weight of stroke in glyphs.

Inherited from ​

OS2Header.usWeightClass


usWidthClass ​

usWidthClass: number

Defined in: src/tables/OS2.ts:17

The relative change from the normal aspect ratio (width to height ratio).

Inherited from ​

OS2Header.usWidthClass


vendorID ​

vendorID: string

Defined in: src/tables/OS2.ts:71

The four character identifier for the font vendor.

Inherited from ​

OS2Header.vendorID


version ​

version: 3

Defined in: src/tables/OS2.ts:132


winAscent ​

winAscent: number

Defined in: src/tables/OS2.ts:136


winDescent ​

winDescent: number

Defined in: src/tables/OS2.ts:137


xAvgCharWidth ​

xAvgCharWidth: number

Defined in: src/tables/OS2.ts:8

The average weighted advance width of lower case letters and space.

Inherited from ​

OS2Header.xAvgCharWidth


xHeight ​

xHeight: number

Defined in: src/tables/OS2.ts:141


yStrikeoutPosition ​

yStrikeoutPosition: number

Defined in: src/tables/OS2.ts:58

The position of the strikeout stroke relative to the baseline.

Inherited from ​

OS2Header.yStrikeoutPosition


yStrikeoutSize ​

yStrikeoutSize: number

Defined in: src/tables/OS2.ts:55

Inherited from ​

OS2Header.yStrikeoutSize


ySubscriptXOffset ​

ySubscriptXOffset: number

Defined in: src/tables/OS2.ts:35

The recommended horizontal offset for subscripts.

Inherited from ​

OS2Header.ySubscriptXOffset


ySubscriptXSize ​

ySubscriptXSize: number

Defined in: src/tables/OS2.ts:29

The recommended horizontal size in pixels for subscripts.

Inherited from ​

OS2Header.ySubscriptXSize


ySubscriptYOffset ​

ySubscriptYOffset: number

Defined in: src/tables/OS2.ts:38

The recommended vertical offset from the baseline for subscripts.

Inherited from ​

OS2Header.ySubscriptYOffset


ySubscriptYSize ​

ySubscriptYSize: number

Defined in: src/tables/OS2.ts:32

The recommended horizontal size in pixels for subscripts.

Inherited from ​

OS2Header.ySubscriptYSize


ySuperscriptXOffset ​

ySuperscriptXOffset: number

Defined in: src/tables/OS2.ts:47

The recommended horizontal offset for superscripts

Inherited from ​

OS2Header.ySuperscriptXOffset


ySuperscriptXSize ​

ySuperscriptXSize: number

Defined in: src/tables/OS2.ts:41

The recommended horizontal size in pixels for superscripts.

Inherited from ​

OS2Header.ySuperscriptXSize


ySuperscriptYOffset ​

ySuperscriptYOffset: number

Defined in: src/tables/OS2.ts:52

The recommended vertical offset from the baseline for superscripts.

Inherited from ​

OS2Header.ySuperscriptYOffset


ySuperscriptYSize ​

ySuperscriptYSize: number

Defined in: src/tables/OS2.ts:44

The recommended vertical size in pixels for superscripts.

Inherited from ​

OS2Header.ySuperscriptYSize