[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu May 29 12:49:18 PDT 2014


 NEWS                                                                                  |   12 ++++++++++
 configure.ac                                                                          |    2 -
 src/hb-ot-shape-complex-indic-machine.rl                                              |    2 -
 src/hb-ot-shape-complex-indic.cc                                                      |    4 +++
 test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt |    1 
 test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt         |    2 +
 6 files changed, 21 insertions(+), 2 deletions(-)

New commits:
commit 5875ad9c467b39d00ad4d98fd425179c701e6fd0
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu May 29 15:48:16 2014 -0400

    0.9.29

diff --git a/NEWS b/NEWS
index c2883ae..b7ac415 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,15 @@
+Overview of changes leading to 0.9.29
+Thursday, May 29, 2014
+=====================================
+
+- Implement cmap in hb-ot-font.h.  No variation-selectors yet.
+- Myanmar: Allow MedialYa+Asat.
+- Various Indic fixes:
+  * Support most characters in Extended Devanagary and Vedic
+    Unicode blocks.
+  * Allow digits and a some punctuation as consonant placeholders.
+- Build fixes.
+
 Overview of changes leading to 0.9.28
 Monday, April 28, 2014
 =====================================
diff --git a/configure.ac b/configure.ac
index e10fb34..d2036ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 AC_PREREQ([2.64])
 AC_INIT([HarfBuzz],
-        [0.9.28],
+        [0.9.29],
         [http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz],
         [harfbuzz],
         [http://harfbuzz.org/])
commit 7977ca17aac34b9ab10622928bed8afa2177f16a
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu May 29 15:34:26 2014 -0400

    [indic] Allow decimal and Brahmi digits as placeholders
    
    Tests: U+0967,0951 U+0031,093F

diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc
index bd6c765..d652018 100644
--- a/src/hb-ot-shape-complex-indic.cc
+++ b/src/hb-ot-shape-complex-indic.cc
@@ -254,6 +254,10 @@ set_indic_properties (hb_glyph_info_t &info)
     if (_hb_glyph_info_get_general_category (&info) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK)
       cat = OT_N;
   }
+  /* Decimal and Brahmi numbers. */
+  else if (unlikely (_hb_glyph_info_get_general_category (&info) ==
+		     HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER ||
+		     hb_in_range<hb_codepoint_t> (u, 0x11052, 0x11065))) cat = OT_PLACEHOLDER;
 
 
 
diff --git a/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt b/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt
index abf9760..4a8326c 100644
--- a/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt
+++ b/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt
@@ -32,3 +32,5 @@
 क‌ि
 ऽं
 रुँः
+1ि
+१॑
commit e8b5d64039614ecce472eda1a7a603736da25d86
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu May 29 15:18:27 2014 -0400

    [indic] Do NOT allow reph formation on placeholders
    
    Only allow it on DOTTED CIRCLE.  No effect on test numbers.
    
    Test: U+0930,094D,00A0

diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl
index 09b4ac5..f6768a5 100644
--- a/src/hb-ot-shape-complex-indic-machine.rl
+++ b/src/hb-ot-shape-complex-indic-machine.rl
@@ -79,7 +79,7 @@ halant_or_matra_group = (final_halant_group | (h.ZWJ)? matra_group{0,4}) (Coeng
 
 consonant_syllable =	Repha? (cn.halant_group){0,4} cn medial_group halant_or_matra_group syllable_tail;
 vowel_syllable =	reph? V.n? (ZWJ | (halant_group.cn){0,4} medial_group halant_or_matra_group syllable_tail);
-standalone_cluster =	reph? place_holder.n? (halant_group.cn){0,4} medial_group halant_or_matra_group syllable_tail;
+standalone_cluster =	(Repha? PLACEHOLDER | reph? DOTTEDCIRCLE).n? (halant_group.cn){0,4} medial_group halant_or_matra_group syllable_tail;
 symbol_cluster = 	symbol syllable_tail;
 broken_cluster =	reph? n? (halant_group.cn){0,4} medial_group halant_or_matra_group syllable_tail;
 other =			any;
diff --git a/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt b/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt
index 52eeef5..fd0ebdb 100644
--- a/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt
+++ b/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt
@@ -5,3 +5,4 @@
 र्◌्
 र्◌़
 ◌्च्छे
+र् 


More information about the HarfBuzz mailing list