Function

HarfBuzz-0.0HarfBuzzfont_set_funcs_usingSince 11.0.0

  • Sets the font-functions structure to use for a font, based on the specified name.

    If name is NULL or the empty string, the default (first) functioning font-functions are used. This default can be changed by setting the HB_FONT_FUNCS environment variable to the name of the desired font-functions.

    Parameters

    • font: font_t

      HarfBuzz.font_t to work upon

    • name: string

      The name of the font-functions structure to use, or NULL

    Returns number

    true if the font-functions was found and set, false otherwise

    11.0.0