otVarNormalizeCoords

Normalizes the given design-space coordinates. The minimum and maximum values for the axis are mapped to the interval [-1,1], with the default axis value mapped to 0.

The normalized values have 14 bits of fixed-point sub-integer precision as per OpenType specification.

Any additional scaling defined in the face's avar table is also applied, as described at https://docs.microsoft.com/en-us/typography/opentype/spec/avar

void
otVarNormalizeCoords

Parameters

face harfbuzz.face.Face

The #hb_face_t to work on

designCoords float[]

The design-space coordinates to normalize

normalizedCoords int

The normalized coordinates