Skip to main content

type1_builtin_encoding

Function type1_builtin_encoding 

Source
pub fn type1_builtin_encoding(
    program: &[u8],
) -> Option<Box<[Option<String>; 256]>>
Expand description

The built-in encoding of an embedded Type 1 font program: code to glyph name, read from the program’s clear-text portion, which is where ISO 32000-1 9.6.6 sends a simple font that states no usable /Encoding of its own. A bare StandardEncoding token expands to that table, and any dup <code> /<name> put entries override it code by code. None when the program states no /Encoding at all.