phpdftk API Documentation

Font

Table of Contents

Namespaces

FontFile

Interfaces

RegisteredFont
A font that has been registered with a writer and assigned a resource name. ContentStream::setFont() accepts this so callers can pass UTF-8 to showText() and have the encoder do the byte-level translation for them.

Classes

CIDFont
CIDFont dictionary (/Type /Font /Subtype /CIDFontType0 or /CIDFontType2).
CIDFontType0Font
CIDFontType0 — CID-keyed font backed by a Type 1 / CFF font program (ISO 32000-2 §9.7.4). Used as the descendant of a /Type0 font when the glyphs come from an OpenType CFF or bare CFF font program.
CIDFontType2Font
CIDFontType2 — CID-keyed font backed by a TrueType font program (ISO 32000-2 §9.7.4). Used as the descendant of a /Type0 font when the glyphs come from a TrueType or OpenType TTF font program.
CIDSystemInfo
CIDSystemInfo dictionary.
CMapStream
CMap stream (/Type /CMap) — ISO 32000-2 §9.7.5.4.
Encoding
Encoding object (/Type /Encoding).
Font
Base PDF Font object (/Type /Font).
FontDescriptor
Font Descriptor object (/Type /FontDescriptor).
MMType1Font
Multiple Master Type 1 font (/Subtype /MMType1).
TrueTypeFont
TrueType font (/Subtype /TrueType).
Type0Font
Type 0 (composite) font (/Type /Font /Subtype /Type0).
Type0FontFactory
Factory that builds a complete Type 0 composite font stack from TrueType font data.
Type1Font
Type 1 font (/Subtype /Type1).
Type3Font
Type 3 font (/Subtype /Type3).

Enums

StandardFont
Enum of the 14 standard PDF fonts guaranteed to be available in every viewer.

        
On this page

Search results