[][src]Function harfbuzz_ft_sys::hb_ft_face_create_cached

pub unsafe extern "C" fn hb_ft_face_create_cached(
    ft_face: FT_Face
) -> *mut hb_face_t

Official harfbuzz documentation:

This version is like hb_ft_face_create(), except that it caches the hb-face using the generic pointer of the ft-face. This means that subsequent calls to this function with the same ft-face will return the same hb-face (correctly referenced).

Client is still responsible for making sure that ft-face is destroyed after hb-face is.