提交 0bf93ec0 编写于 作者: B Behdad Esfahbod

[name] Add public API declarations

上级 982c2f4a
......@@ -48,6 +48,40 @@ typedef unsigned int hb_name_id_t;
**/
#define HB_NAME_ID_INVALID 0xFFFF
HB_EXTERN hb_bool_t
hb_ot_name_get_utf8 (hb_face_t *face,
hb_name_id_t name_id,
hb_language_t language,
unsigned int *text_size /* IN/OUT */,
char *text /* OUT */);
HB_EXTERN hb_bool_t
hb_ot_name_get_utf16 (hb_face_t *face,
hb_name_id_t name_id,
hb_language_t language,
unsigned int *text_size /* IN/OUT */,
uint16_t *text /* OUT */);
HB_EXTERN hb_bool_t
hb_ot_name_get_utf32 (hb_face_t *face,
hb_name_id_t name_id,
hb_language_t language,
unsigned int *text_size /* IN/OUT */,
uint32_t *text /* OUT */);
typedef struct hb_ot_name_entry_t
{
hb_name_id_t name_id;
hb_language_t language;
} 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_END_DECLS
#endif /* HB_OT_NAME_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册