bug 667166 - apply 'locl' feature early along with 'ccmp', before Arabic-specific shaping features. r=jdaggett
authorJonathan Kew <jfkthame@gmail.com>
Fri, 12 Aug 2011 11:49:36 +0100
changeset 74341 78dea7cd0f4daaa29e5f8cc0e556d2ce1a990d1b
parent 74301 415a7b342701d2f6ad7bda9b06a72acbbe06b073
child 74342 d71ffe484d24f9e84d57e9df16cf779c7aa7470b
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersjdaggett
bugs667166
milestone8.0a1
bug 667166 - apply 'locl' feature early along with 'ccmp', before Arabic-specific shaping features. r=jdaggett
gfx/harfbuzz/src/hb-ot-shape.cc
--- a/gfx/harfbuzz/src/hb-ot-shape.cc
+++ b/gfx/harfbuzz/src/hb-ot-shape.cc
@@ -39,17 +39,17 @@ struct {
 } default_features[] = {
   { HB_TAG('c','a','l','t'), DEFAULT_PRIORITY },
   { HB_TAG('c','c','m','p'), FIRST_PRIORITY },
   { HB_TAG('c','l','i','g'), DEFAULT_PRIORITY },
   { HB_TAG('c','s','w','h'), DEFAULT_PRIORITY },
   { HB_TAG('c','u','r','s'), DEFAULT_PRIORITY },
   { HB_TAG('k','e','r','n'), DEFAULT_PRIORITY },
   { HB_TAG('l','i','g','a'), DEFAULT_PRIORITY },
-  { HB_TAG('l','o','c','l'), DEFAULT_PRIORITY },
+  { HB_TAG('l','o','c','l'), FIRST_PRIORITY },
   { HB_TAG('m','a','r','k'), DEFAULT_PRIORITY },
   { HB_TAG('m','k','m','k'), DEFAULT_PRIORITY },
   { HB_TAG('r','l','i','g'), DEFAULT_PRIORITY }
 };
 
 static void
 hb_ot_shape_collect_features (hb_ot_shape_plan_t       *plan,
 			      const hb_segment_properties_t  *props,