Skip to main content

parse_post_table

Function parse_post_table 

Source
pub fn parse_post_table(font_data: &[u8]) -> Option<HashMap<u16, String>>
Expand description

Parse the post table to get GID→glyph name mapping.

Only handles format 2.0 (the common format with custom names). Returns None for other formats (caller should use AGL fallback).