40 #ifndef HB_NO_VISIBILITY
50 DEFINE_NULL_NAMESPACE_BYTES (
OT, CmapSubtableLongGroup) = {0x00,0x00,0x00,0x01, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00};
59 #ifndef HB_NO_BORING_EXPANSION
60 static inline unsigned
65 unsigned indexToLocFormat =
face->table.head->indexToLocFormat;
67 if (indexToLocFormat <= 1)
69 bool short_offset = 0 == indexToLocFormat;
71 ret = hb_max (1u, loca_blob->
length / (short_offset ? 2 : 4)) - 1;
78 static inline unsigned
81 return face->table.maxp->get_num_glyphs ();
85 hb_face_t::load_num_glyphs ()
const
89 #ifndef HB_NO_BORING_EXPANSION
90 ret = hb_max (
ret, load_num_glyphs_from_loca (
this));
93 ret = hb_max (
ret, load_num_glyphs_from_maxp (
this));
100 hb_face_t::load_upem ()
const
102 unsigned int ret =
table.head->get_upem ();
QVariant data(int key) const
#define HB_NULL_POOL_SIZE
const unsigned char _hb_Null_AAT_Lookup[2]
uint64_t const _hb_NullPool[(HB_NULL_POOL_SIZE+sizeof(uint64_t) - 1)/sizeof(uint64_t)]
uint64_t _hb_CrapPool[(HB_NULL_POOL_SIZE+sizeof(uint64_t) - 1)/sizeof(uint64_t)]
DEFINE_NULL_NAMESPACE_BYTES(OT, Index)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLenum GLsizei void * table
void(* hb_destroy_func_t)(void *user_data)
HB_BEGIN_DECLS typedef int hb_bool_t
HB_EXTERN hb_font_get_glyph_func_t void hb_destroy_func_t destroy
hb_atomic_int_t num_glyphs
HB_INTERNAL void * get(hb_user_data_key_t *key)
hb_lockable_set_t< hb_user_data_item_t, hb_mutex_t > items
HB_INTERNAL bool set(hb_user_data_key_t *key, void *data, hb_destroy_func_t destroy, hb_bool_t replace)