Type Alias NormalizedCoord

Source
pub type NormalizedCoord = i16;
Expand description

A normalized variation coordinate (for variable fonts) in 2.14 fixed point format.

In most cases, this can be cast from the normalised coords provided by your text layout library.

Equivalent to skrifa::instance::NormalizedCoord, but defined in Vello so that Skrifa is not part of Vello’s public API. This allows Vello to update its Skrifa in a patch release, and limits the need for updates only to align Skrifa versions.