[config] Disable Zawgyi shaper in HB_MINI/HB_TINY
This commit is contained in:
parent
05aa084e67
commit
1248574454
|
@ -159,6 +159,7 @@
|
||||||
#define HB_NO_OT_SHAPER_HEBREW_FALLBACK
|
#define HB_NO_OT_SHAPER_HEBREW_FALLBACK
|
||||||
#define HB_NO_OT_SHAPER_THAI_FALLBACK
|
#define HB_NO_OT_SHAPER_THAI_FALLBACK
|
||||||
#define HB_NO_OT_SHAPER_VOWEL_CONSTRAINTS
|
#define HB_NO_OT_SHAPER_VOWEL_CONSTRAINTS
|
||||||
|
#define HB_NO_OT_SHAPER_MYANMAR_ZAWGYI
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
|
|
@ -363,6 +363,7 @@ const hb_ot_shaper_t _hb_ot_shaper_myanmar =
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HB_NO_OT_SHAPER_MYANMAR_ZAWGYI
|
||||||
/* Ugly Zawgyi encoding.
|
/* Ugly Zawgyi encoding.
|
||||||
* Disable all auto processing.
|
* Disable all auto processing.
|
||||||
* https://github.com/harfbuzz/harfbuzz/issues/1162 */
|
* https://github.com/harfbuzz/harfbuzz/issues/1162 */
|
||||||
|
@ -383,6 +384,7 @@ const hb_ot_shaper_t _hb_ot_shaper_myanmar_zawgyi =
|
||||||
HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE,
|
HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE,
|
||||||
false, /* fallback_position */
|
false, /* fallback_position */
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -262,11 +262,13 @@ hb_ot_shaper_categorize (const hb_ot_shape_planner_t *planner)
|
||||||
return &_hb_ot_shaper_myanmar;
|
return &_hb_ot_shaper_myanmar;
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HB_NO_OT_SHAPER_MYANMAR_ZAWGYI
|
||||||
#define HB_SCRIPT_MYANMAR_ZAWGYI ((hb_script_t) HB_TAG ('Q','a','a','g'))
|
#define HB_SCRIPT_MYANMAR_ZAWGYI ((hb_script_t) HB_TAG ('Q','a','a','g'))
|
||||||
case HB_SCRIPT_MYANMAR_ZAWGYI:
|
case HB_SCRIPT_MYANMAR_ZAWGYI:
|
||||||
/* https://github.com/harfbuzz/harfbuzz/issues/1162 */
|
/* https://github.com/harfbuzz/harfbuzz/issues/1162 */
|
||||||
|
|
||||||
return &_hb_ot_shaper_myanmar_zawgyi;
|
return &_hb_ot_shaper_myanmar_zawgyi;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Unicode-2.0 additions */
|
/* Unicode-2.0 additions */
|
||||||
|
|
Loading…
Reference in New Issue