Function

HarfBuzz-0.0HarfBuzzfont_get_var_coords_designSince 3.3.0

  • Fetches the list of variation coordinates (in design-space units) currently set on a font.

    Note that if no variation coordinates are set, this function may return null.

    If variations have been set on the font using normalized coordinates (i.e. via hb_font_set_var_coords_normalized()), the design coordinates will have NaN (Not a Number) values.

    Return value is valid as long as variation coordinates of the font are not modified.

    Parameters

    Returns [number, number]

    coordinates array

    3.3.0