[name] Implement hb_ot_name_get_names()

This commit is contained in:
Behdad Esfahbod 2018-10-15 22:48:48 -07:00
parent 9a6c87c17d
commit 90420ed8cb
3 changed files with 4 additions and 4 deletions

View File

@ -34,6 +34,7 @@ HB_BASE_sources = \
hb-ot-kern-table.hh \
hb-ot-maxp-table.hh \
hb-ot-name-table.hh \
hb-ot-name.cc \
hb-ot-os2-table.hh \
hb-ot-os2-unicode-ranges.hh \
hb-ot-post-macroman.hh \

View File

@ -217,9 +217,8 @@ struct name
private:
hb_blob_t *blob;
public:
hb_vector_t<hb_ot_name_entry_t> names;
unsigned int names_count;
};
/* We only implement format 0 for now. */

View File

@ -82,8 +82,8 @@ typedef struct hb_ot_name_entry_t
} hb_ot_name_entry_t;
HB_EXTERN unsigned int
hb_ot_name_get_names (hb_face_t *face,
hb_ot_name_entry_t **entries /* OUT */);
hb_ot_name_get_names (hb_face_t *face,
const hb_ot_name_entry_t **entries /* OUT */);
HB_END_DECLS