pdftoolkit/pdf-fonts · version 0.1.7 · source d162bc1

Install with Composer · Packagist ↗

Read the package guide →

classOptional · pdftoolkit/pdf-fonts

BinaryReader

PDF\Fonts\TrueType

Bounded, big-endian access to an immutable sfnt table or font program.

classOptional · pdftoolkit/pdf-fonts

CIDFontProgram

PDF\Fonts\TrueType

9.9: all glyphs retained; CID FontFile2 omits cmap and invalidated DSIG.

classOptional · pdftoolkit/pdf-fonts

CharacterMapFactory

PDF\Fonts\TrueType

Converts a parsed sfnt repertoire to explicit PDF CIDs, GIDs and 1000-unit widths.

classOptional · pdftoolkit/pdf-fonts

FontDescriptorFactory

PDF\Fonts\TrueType

Extracts sfnt metadata and converts its font units into explicit PDF descriptor values.

classOptional · pdftoolkit/pdf-fonts

FontProgram

PDF\Fonts\TrueType

A complete static TrueType sfnt program; bytes are supplied by the application.

classOptional · pdftoolkit/pdf-fonts

FontProgramLimits

PDF\Fonts\TrueType

An application's explicit input-byte budget for one TrueType font program.

classOptional · pdftoolkit/pdf-fonts

FontTable

PDF\Fonts\TrueType

An immutable sfnt table and its directory checksum.

classOptional · pdftoolkit/pdf-fonts

GlyphOutlines

PDF\Fonts\TrueType

Structural glyf/loca validation; TrueType instructions are never executed.

classOptional · pdftoolkit/pdf-fonts

HorizontalMetrics

PDF\Fonts\TrueType

hmtx widths in font units, including the repeated final advance width.

classOptional · pdftoolkit/pdf-fonts

SfntChecksum

PDF\Fonts\TrueType

The sfnt sum of zero-padded, big-endian 32-bit words, modulo 2^32.

classOptional · pdftoolkit/pdf-fonts

TextEncoder

PDF\Fonts\TrueType

Encodes declared Unicode characters to two-byte Identity-H character codes.

classOptional · pdftoolkit/pdf-fonts

UnicodeCMap

PDF\Fonts\TrueType

A bounded Unicode cmap, using the preferred format 12 or format 4 subtable.

classOptional · pdftoolkit/pdf-fonts

UnicodeText

PDF\Fonts\TrueType

Unicode scalar values, without normalization, shaping or direction changes.