Skip to main content

Module encoding

Module encoding 

Source
Expand description

Simple-font encodings: code → character mapping (§9.6, §D.2).

Text extraction and rendering both need the same mapping, so it lives here instead of inside the content-stream interpreter: StandardEncoding, WinAnsiEncoding, a font’s /Encoding name or dictionary with /BaseEncoding and /Differences, and glyph-name lookup for the differences array.

Structs§

Encoding
A simple font’s code → character table, one entry per byte.

Functions§

glyph_name_character
The character a glyph name stands for, for /Differences arrays.