Some tweaks

This commit is contained in:
Matthias Clasen 2022-12-28 22:24:45 -05:00
parent 944c0aa605
commit fc404229ae
1 changed files with 20 additions and 8 deletions

View File

@ -43,16 +43,28 @@ hb_face_descriptor_create ();
void void
hb_face_descriptor_destroy (hb_face_descriptor_t *desc); hb_face_descriptor_destroy (hb_face_descriptor_t *desc);
/* FIXME */
const char * const char *
hb_face_descriptor_get_field (hb_face_descriptor_t *desc, hb_face_descriptor_get_name (hb_face_descriptor_t *desc,
const char *field); hb_ot_name_id_t name);
void void
hb_face_descriptor_add_field (hb_face_descriptor_t *desc, hb_face_descriptor_add_name (hb_face_descriptor_t *desc,
const char *field, hb_ot_name_id_t name,
const char *value); const char *value);
float
hb_face_descriptor_get_style (hb_face_descriptor_t *desc,
hb_tag_t style);
void
hb_face_descriptor_add_style (hb_face_descriptor_t *desc,
hb_tag_t style,
float value);
void
hb_face_descriptor_add_script (hb_face_descriptor_t *desc,
hb_script_t script);
hb_face_descriptor_t * hb_face_descriptor_t *
hb_face_describe (hb_face_t *face); hb_face_describe (hb_face_t *face);
@ -64,7 +76,7 @@ hb_face_collection_t *
hb_face_collection_create (); hb_face_collection_create ();
void void
hb_face_collection_add_faces_from_directory (hb_face_collection_t *collection, hb_face_collection_add_from_path (hb_face_collection_t *collection,
const char *path); const char *path);
void void