[config] Add HB_NO_FACE_COLLECT_UNICODES
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
This commit is contained in:
parent
3caa32d737
commit
27de7c44fe
|
@ -57,6 +57,7 @@
|
||||||
#define HB_NO_BITMAP
|
#define HB_NO_BITMAP
|
||||||
#define HB_NO_CFF
|
#define HB_NO_CFF
|
||||||
#define HB_NO_COLOR
|
#define HB_NO_COLOR
|
||||||
|
#define HB_NO_FACE_COLLECT_UNICODES
|
||||||
#define HB_NO_GETENV
|
#define HB_NO_GETENV
|
||||||
#define HB_NO_HINTING
|
#define HB_NO_HINTING
|
||||||
#define HB_NO_LANGUAGE_PRIVATE_SUBTAG
|
#define HB_NO_LANGUAGE_PRIVATE_SUBTAG
|
||||||
|
|
|
@ -531,6 +531,7 @@ hb_face_get_table_tags (const hb_face_t *face,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HB_NO_FACE_COLLECT_UNICODES
|
||||||
/**
|
/**
|
||||||
* hb_face_collect_unicodes:
|
* hb_face_collect_unicodes:
|
||||||
* @face: font face.
|
* @face: font face.
|
||||||
|
@ -544,7 +545,6 @@ hb_face_collect_unicodes (hb_face_t *face,
|
||||||
{
|
{
|
||||||
face->table.cmap->collect_unicodes (out);
|
face->table.cmap->collect_unicodes (out);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hb_face_collect_variation_selectors:
|
* hb_face_collect_variation_selectors:
|
||||||
* @face: font face.
|
* @face: font face.
|
||||||
|
@ -560,7 +560,6 @@ hb_face_collect_variation_selectors (hb_face_t *face,
|
||||||
{
|
{
|
||||||
face->table.cmap->collect_variation_selectors (out);
|
face->table.cmap->collect_variation_selectors (out);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hb_face_collect_variation_unicodes:
|
* hb_face_collect_variation_unicodes:
|
||||||
* @face: font face.
|
* @face: font face.
|
||||||
|
@ -577,7 +576,7 @@ hb_face_collect_variation_unicodes (hb_face_t *face,
|
||||||
{
|
{
|
||||||
face->table.cmap->collect_variation_unicodes (variation_selector, out);
|
face->table.cmap->collect_variation_unicodes (variation_selector, out);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -47,7 +47,9 @@
|
||||||
|
|
||||||
/* OpenType fundamentals. */
|
/* OpenType fundamentals. */
|
||||||
HB_OT_TABLE (OT, head)
|
HB_OT_TABLE (OT, head)
|
||||||
|
#if !defined(HB_NO_FACE_COLLECT_UNICODES) || !defined(HB_NO_OT_FONT)
|
||||||
HB_OT_ACCELERATOR (OT, cmap)
|
HB_OT_ACCELERATOR (OT, cmap)
|
||||||
|
#endif
|
||||||
HB_OT_ACCELERATOR (OT, hmtx)
|
HB_OT_ACCELERATOR (OT, hmtx)
|
||||||
HB_OT_TABLE (OT, OS2)
|
HB_OT_TABLE (OT, OS2)
|
||||||
#ifndef HB_NO_OT_FONT_GLYPH_NAMES
|
#ifndef HB_NO_OT_FONT_GLYPH_NAMES
|
||||||
|
|
Loading…
Reference in New Issue