Skip to content

@pdfa-lab/fontkit / headTable / head

Interface: head ​

Defined in: src/tables/head.ts:25

The head (font header) table.

Contains global font metrics and metadata required for rendering, scaling, and coordinate system interpretation.

This table is required for all SFNT-based fonts.

Properties ​

checkSumAdjustment ​

checkSumAdjustment: number

Defined in: src/tables/head.ts:33

Checksum adjustment for the entire font file


created ​

created: [number, number]

Defined in: src/tables/head.ts:45

Creation timestamp (2x int32: [high, low])


flags ​

flags: number

Defined in: src/tables/head.ts:39

Font flags


fontDirectionHint ​

fontDirectionHint: number

Defined in: src/tables/head.ts:69

Font direction hint


glyphDataFormat ​

glyphDataFormat: number

Defined in: src/tables/head.ts:75

Glyph data format (always 0 for current spec)


indexToLocFormat ​

indexToLocFormat: number

Defined in: src/tables/head.ts:72

Index-to-location format (0 = short, 1 = long)


lowestRecPPEM ​

lowestRecPPEM: number

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

Smallest readable size in pixels


macStyle ​

macStyle: MacStyle

Defined in: src/tables/head.ts:63

Macintosh style flags


magicNumber ​

magicNumber: number

Defined in: src/tables/head.ts:36

Magic number (0x5F0F3CF5)


modified ​

modified: [number, number]

Defined in: src/tables/head.ts:48

Modification timestamp (2x int32: [high, low])


revision ​

revision: number

Defined in: src/tables/head.ts:30

Set by font manufacturer


unitsPerEm ​

unitsPerEm: number

Defined in: src/tables/head.ts:42

Units per em (typically 64–16384)


version ​

version: number

Defined in: src/tables/head.ts:27

0x00010000 (version 1.0)


xMax ​

xMax: number

Defined in: src/tables/head.ts:57

Bounding box maximum X for all glyphs


xMin ​

xMin: number

Defined in: src/tables/head.ts:51

Bounding box minimum X for all glyphs


yMax ​

yMax: number

Defined in: src/tables/head.ts:60

Bounding box maximum Y for all glyphs


yMin ​

yMin: number

Defined in: src/tables/head.ts:54

Bounding box minimum Y for all glyphs