[config] Fix build with HB_LEAN

Fixes https://github.com/harfbuzz/harfbuzz/issues/4997
This commit is contained in:
Behdad Esfahbod 2025-01-13 14:53:16 -07:00
parent 1e629c3511
commit 3a7ebc320d

View file

@ -291,6 +291,7 @@ hb_face_create_or_fail (hb_blob_t *blob,
return face;
}
#ifndef HB_NO_OPEN
/**
* hb_face_create_from_file_or_fail:
* @file_name: A font filename
@ -317,6 +318,7 @@ hb_face_create_from_file_or_fail (const char *file_name,
return face;
}
#endif
/**
* hb_face_get_empty: