Skip to main content

mac_os_roman_code

Function mac_os_roman_code 

Source
pub fn mac_os_roman_code(ch: char) -> Option<u8>
Expand description

The Mac OS Roman code for ch: MacRomanEncoding (Annex D.2) plus the fifteen additions and the Euro of Table 115, which is the encoding a TrueType (1, 0) cmap subtable is indexed by. None for a character the encoding lacks.

Covers ISO 32000-1 ยง9.6.6.4.