Creates an HarfBuzz.font_t font object from the specified FT_Face.
Note: You must set the face size on ft_face before calling
hb_ft_font_create_referenced() on it. HarfBuzz assumes size is always set
and will access size member of FT_Face unconditionally.
This is the preferred variant of the hb_ft_font_create*
function family, because it calls FT_Reference_Face() on ft_face,
ensuring that ft_face remains alive as long as the resulting
HarfBuzz.font_t font object remains alive.
Use this version unless you know you have good reasons not to.
Creates an HarfBuzz.font_t font object from the specified FT_Face.
ft_facebefore callinghb_ft_font_create_referenced()on it. HarfBuzz assumes size is always set and will accesssizemember of FT_Face unconditionally.This is the preferred variant of the hb_ft_font_create* function family, because it calls FT_Reference_Face() on
ft_face, ensuring thatft_faceremains alive as long as the resulting HarfBuzz.font_t font object remains alive.Use this version unless you know you have good reasons not to.