[HarfBuzz] shaping for Buhid script
Jonathan Kew
jonathan at jfkew.plus.com
Tue Mar 6 04:51:39 PST 2012
Hi Behdad,
AFAICS, there's no need for Buhid to go through the Indic shaper; it has a couple of non-spacing marks, but nothing requiring Indic-style reordering or special Indic features. Accordingly, I'd suggest removing it from the list of scripts that are categorized as needing hb_ot_complex_shaper_indic.
diff --git a/src/hb-ot-shape-complex-private.hh b/src/hb-ot-shape-complex-private.hh
index 8b775fb..652d90a 100644
--- a/src/hb-ot-shape-complex-private.hh
+++ b/src/hb-ot-shape-complex-private.hh
@@ -88,6 +88,7 @@ hb_ot_shape_complex_categorize (const hb_segment_properties_t *props)
/* Simple? */
case HB_SCRIPT_BATAK:
case HB_SCRIPT_BRAHMI:
+ case HB_SCRIPT_BUHID:
case HB_SCRIPT_HANUNOO:
case HB_SCRIPT_MEETEI_MAYEK:
case HB_SCRIPT_SAURASHTRA:
@@ -112,7 +113,6 @@ hb_ot_shape_complex_categorize (const hb_segment_properties_t *props)
case HB_SCRIPT_BALINESE:
case HB_SCRIPT_BENGALI:
case HB_SCRIPT_BUGINESE:
- case HB_SCRIPT_BUHID:
case HB_SCRIPT_CHAM:
case HB_SCRIPT_DEVANAGARI:
case HB_SCRIPT_GUJARATI:
JK
More information about the HarfBuzz
mailing list