Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

validate_shaping_input

Function validate_shaping_input 

Source
pub fn validate_shaping_input(
    input: &ShapingInput,
) -> Result<(), ValidationError>
Expand description

Validate one shaping input before a shaper consumes caller-supplied font bytes: UTF-8 byte-offset indexing, the font digest, variation axes, the script tag, a nonempty language and half-open code-point feature ranges. Paths are relative to the input ($ is the input itself).