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,15 +43,27 @@ hb_face_descriptor_create ();
void
hb_face_descriptor_destroy (hb_face_descriptor_t *desc);
/* FIXME */
const char *
hb_face_descriptor_get_field (hb_face_descriptor_t *desc,
const char *field);
hb_face_descriptor_get_name (hb_face_descriptor_t *desc,
hb_ot_name_id_t name);
void
hb_face_descriptor_add_field (hb_face_descriptor_t *desc,
const char *field,
const char *value);
hb_face_descriptor_add_name (hb_face_descriptor_t *desc,
hb_ot_name_id_t name,
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_describe (hb_face_t *face);
@ -64,8 +76,8 @@ hb_face_collection_t *
hb_face_collection_create ();
void
hb_face_collection_add_faces_from_directory (hb_face_collection_t *collection,
const char *path);
hb_face_collection_add_from_path (hb_face_collection_t *collection,
const char *path);
void
hb_face_collection_add_face (hb_face_collection_t *collection,