Function

HarfBuzz-0.0HarfBuzzfont_createSince 0.9.2

  • Constructs a new font object from the specified face.

    Note: If face's index value (as passed to hb_face_create() has non-zero top 16-bits, those bits minus one are passed to hb_font_set_var_named_instance(), effectively loading a named-instance of a variable font, instead of the default-instance. This allows specifying which named-instance to load by default when creating the face.

    Parameters

    Returns font_t

    The new font object

    0.9.2