Skip to main content

validate_overrides

Function validate_overrides 

Source
pub fn validate_overrides(
    overrides: &BTreeMap<String, SlotOverride>,
) -> Result<(), String>
Expand description

Check a [glyphs] override map at load time, naming the bad slot. Each override must keep its glyph’s display width, so every layout width invariant holds.