Configures the font-functions structure of the specified
HarfBuzz.font_t font object to use FreeType font functions.
In particular, you can use this function to configure an
existing HarfBuzz.face_t face object for use with FreeType font
functions even if that HarfBuzz.face_t face object was initially
created with hb_face_create(), and therefore was not
initially configured to use FreeType font functions.
An HarfBuzz.font_t object created with hb_ft_font_create()
is preconfigured for FreeType font functions and does not
require this function to be used.
Note that if you modify the underlying HarfBuzz.font_t after
calling this function, you need to call hb_ft_hb_font_changed()
to update the underlying FT_Face.
Note: Internally, this function creates an FT_Face.
Configures the font-functions structure of the specified HarfBuzz.font_t font object to use FreeType font functions.
In particular, you can use this function to configure an existing HarfBuzz.face_t face object for use with FreeType font functions even if that HarfBuzz.face_t face object was initially created with
hb_face_create(), and therefore was not initially configured to use FreeType font functions.An HarfBuzz.font_t object created with
hb_ft_font_create()is preconfigured for FreeType font functions and does not require this function to be used.Note that if you modify the underlying HarfBuzz.font_t after calling this function, you need to call
hb_ft_hb_font_changed()to update the underlying FT_Face.