Skip to main content

hdmx_widths

Function hdmx_widths 

Source
fn hdmx_widths(tables: &Tables, ppem: i32) -> Option<Range<usize>>
Expand description

Returns the byte range of the widths in the hdmx record for ppem, if any.

Only a whole size that fits in a byte has a record. https://gitlab.freedesktop.org/freetype/freetype/-/blob/57617782464411201ce7bbc93b086c1b4d7d84a5/src/truetype/ttgload.c#L1996