Skip to main content

ISO_LATIN1_ENCODING

Static ISO_LATIN1_ENCODING 

Source
pub(super) static ISO_LATIN1_ENCODING: [u16; 256]
Expand description

Maps ISO Latin-1 byte codes (0-255) to Adobe CFF Standard String IDs (SIDs). SIDs are based on the Adobe CFF Specification, Appendix A.

Note that U+00A0 (non breaking space) and U+00AD (soft hyphen) do not have corresponding SIDs. These are mapped here to space and hyphen, respectively, but are special cased to return correct values in the public API below.

See https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf