mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-17 10:45:43 +00:00
[config] Add HB_NO_STAT
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
This commit is contained in:
parent
ffc2b8d56e
commit
a5897463d4
3 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
|||
#define HB_NO_OPEN
|
||||
#define HB_NO_SETLOCALE
|
||||
#define HB_NO_OT_SHAPE_FRACTIONS
|
||||
#define HB_NO_STAT
|
||||
#define HB_NO_SUBSET_LAYOUT
|
||||
#endif
|
||||
|
||||
|
|
|
@ -54,7 +54,9 @@ HB_OT_TABLE (OT, OS2)
|
|||
#ifndef HB_NO_NAME
|
||||
HB_OT_ACCELERATOR (OT, name)
|
||||
#endif
|
||||
#ifndef HB_NO_STAT
|
||||
HB_OT_TABLE (OT, STAT)
|
||||
#endif
|
||||
|
||||
/* Vertical layout. */
|
||||
HB_OT_ACCELERATOR (OT, vmtx)
|
||||
|
|
|
@ -201,9 +201,11 @@ _nameid_closure (hb_face_t *face,
|
|||
{
|
||||
hb_tag_t tag = table_tags[i];
|
||||
switch (tag) {
|
||||
#ifndef HB_NO_STAT
|
||||
case HB_OT_TAG_STAT:
|
||||
face->table.STAT->collect_name_ids (nameids);
|
||||
break;
|
||||
#endif
|
||||
case HB_OT_TAG_fvar:
|
||||
face->table.fvar->collect_name_ids (nameids);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue