Creates an HarfBuzz.face_t face object from the specified FT_Face.
Note that this is using the FT_Face object just to get at the underlying
font data, and fonts created from the returned HarfBuzz.face_t will use the native
HarfBuzz font implementation, unless you call hb_ft_font_set_funcs() on them.
This variant of the function does not provide any life-cycle management.
Most client programs should use hb_ft_face_create_referenced()
(or, perhaps, hb_ft_face_create_cached()) instead.
If you know you have valid reasons not to use hb_ft_face_create_referenced(),
then it is the client program's responsibility to destroy ft_face
after the HarfBuzz.face_t face object has been destroyed.
Creates an HarfBuzz.face_t face object from the specified FT_Face.
Note that this is using the FT_Face object just to get at the underlying font data, and fonts created from the returned HarfBuzz.face_t will use the native HarfBuzz font implementation, unless you call
hb_ft_font_set_funcs()on them.This variant of the function does not provide any life-cycle management.
Most client programs should use
hb_ft_face_create_referenced()(or, perhaps,hb_ft_face_create_cached()) instead.If you know you have valid reasons not to use
hb_ft_face_create_referenced(), then it is the client program's responsibility to destroyft_faceafter the HarfBuzz.face_t face object has been destroyed.