[name] Implement hb_ot_name_get_names()
This commit is contained in:
parent
9a6c87c17d
commit
90420ed8cb
|
@ -34,6 +34,7 @@ HB_BASE_sources = \
|
||||||
hb-ot-kern-table.hh \
|
hb-ot-kern-table.hh \
|
||||||
hb-ot-maxp-table.hh \
|
hb-ot-maxp-table.hh \
|
||||||
hb-ot-name-table.hh \
|
hb-ot-name-table.hh \
|
||||||
|
hb-ot-name.cc \
|
||||||
hb-ot-os2-table.hh \
|
hb-ot-os2-table.hh \
|
||||||
hb-ot-os2-unicode-ranges.hh \
|
hb-ot-os2-unicode-ranges.hh \
|
||||||
hb-ot-post-macroman.hh \
|
hb-ot-post-macroman.hh \
|
||||||
|
|
|
@ -217,9 +217,8 @@ struct name
|
||||||
|
|
||||||
private:
|
private:
|
||||||
hb_blob_t *blob;
|
hb_blob_t *blob;
|
||||||
|
public:
|
||||||
hb_vector_t<hb_ot_name_entry_t> names;
|
hb_vector_t<hb_ot_name_entry_t> names;
|
||||||
|
|
||||||
unsigned int names_count;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* We only implement format 0 for now. */
|
/* We only implement format 0 for now. */
|
||||||
|
|
|
@ -82,8 +82,8 @@ typedef struct hb_ot_name_entry_t
|
||||||
} hb_ot_name_entry_t;
|
} hb_ot_name_entry_t;
|
||||||
|
|
||||||
HB_EXTERN unsigned int
|
HB_EXTERN unsigned int
|
||||||
hb_ot_name_get_names (hb_face_t *face,
|
hb_ot_name_get_names (hb_face_t *face,
|
||||||
hb_ot_name_entry_t **entries /* OUT */);
|
const hb_ot_name_entry_t **entries /* OUT */);
|
||||||
|
|
||||||
|
|
||||||
HB_END_DECLS
|
HB_END_DECLS
|
||||||
|
|
Loading…
Reference in New Issue