phpdftk API Documentation

Encoding

Table of Contents

Interfaces

TextEncoder
Converts a UTF-8 string into the byte sequence expected by a PDF font's encoding (e.g. WinAnsi).

Classes

CMapParser
GlyphList
MacExpertEncodingTable
MacExpertEncoding — used by expert/small-caps Type 1 fonts on Mac.
MacRomanTable
PdfDocEncodingTable
PDFDocEncoding — the encoding for PDF text strings (Info dict, bookmarks, annotations) when they don't start with the UTF-16BE BOM (U+FEFF / 0xFE 0xFF).
PredefinedCMap
Predefined CMap names for CJK font encoding — ISO 32000-2 §9.7.5.
StandardEncodingTable
StandardEncoding — the default encoding for Type 1 fonts when no /Encoding is specified.
WinAnsiEncoder
Encodes UTF-8 strings to WinAnsi (single-byte, ISO 8859-1 + Microsoft additions in 0x80–0x9F) for use with Type1 standard fonts and any other font whose /Encoding is WinAnsiEncoding.
WinAnsiTable

        
On this page

Search results