otVarNormalizeCoords

fnvoid otVarNormalizeCoords(harfbuzz.face.Face face, float[] designCoords, out int normalizedCoords)

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

Parameters

faceThe #hb_face_t to work on
designCoordsThe design-space coordinates to normalize
normalizedCoordsThe normalized coordinates