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

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Apr 12 07:09:10 PDT 2012


 src/hb-ot-shape.cc                                                      |    2 +-
 test/shaping/texts/in-tree/MANIFEST                                     |    1 +
 test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST |    1 +
 test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt |    3 +++
 test/shaping/texts/in-tree/shaper-thai/MANIFEST                         |    1 +
 test/shaping/texts/in-tree/shaper-thai/misc/MANIFEST                    |    1 +
 6 files changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 0e3361464b00b76aa7375515163e0710a691db0c
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Apr 12 10:06:52 2012 -0400

    Fix bug with not setting Unicode props of the first character
    
    Fixes Mongolian shaping issue:
    https://bugs.freedesktop.org/show_bug.cgi?id=45695

diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc
index 34c0d52..92481ed 100644
--- a/src/hb-ot-shape.cc
+++ b/src/hb-ot-shape.cc
@@ -136,7 +136,7 @@ void
 _hb_set_unicode_props (hb_buffer_t *buffer)
 {
   unsigned int count = buffer->len;
-  for (unsigned int i = 1; i < count; i++)
+  for (unsigned int i = 0; i < count; i++)
     hb_glyph_info_set_unicode_props (&buffer->info[i], buffer->unicode);
 }
 
commit f9746b600a6e14dbe48aabfc17df8f12a5b46b11
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Apr 12 09:59:26 2012 -0400

    Minor

diff --git a/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt b/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt
index a99b58b..009112a 100644
--- a/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt
+++ b/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt
@@ -1,4 +1,3 @@
 ᠬᠦᠮᠦᠨ ᠮᠤᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌
 ᠪᠢᠴᠢᠭ᠌ ᠬᠦᠮᠦᠨ ᠮᠤᠩᠭᠣᠯ
 ᠮᠤᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌ ᠬᠦᠮᠦᠨ
-
commit 7470b0ff805e4ff59d23d7a1808888fafdf550eb
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Apr 12 09:44:27 2012 -0400

    Add Mongolian test case

diff --git a/test/shaping/texts/in-tree/MANIFEST b/test/shaping/texts/in-tree/MANIFEST
index 0119909..41aa748 100644
--- a/test/shaping/texts/in-tree/MANIFEST
+++ b/test/shaping/texts/in-tree/MANIFEST
@@ -2,3 +2,4 @@ shaper-arabic
 shaper-default
 shaper-hangul
 shaper-indic
+shaper-thai
diff --git a/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST b/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST
index e69de29..29cfb2f 100644
--- a/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST
+++ b/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST
@@ -0,0 +1 @@
+misc.txt
diff --git a/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt b/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt
new file mode 100644
index 0000000..a99b58b
--- /dev/null
+++ b/test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt
@@ -0,0 +1,4 @@
+ᠬᠦᠮᠦᠨ ᠮᠤᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌
+ᠪᠢᠴᠢᠭ᠌ ᠬᠦᠮᠦᠨ ᠮᠤᠩᠭᠣᠯ
+ᠮᠤᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌ ᠬᠦᠮᠦᠨ
+
diff --git a/test/shaping/texts/in-tree/shaper-thai/MANIFEST b/test/shaping/texts/in-tree/shaper-thai/MANIFEST
new file mode 100644
index 0000000..b8752e7
--- /dev/null
+++ b/test/shaping/texts/in-tree/shaper-thai/MANIFEST
@@ -0,0 +1 @@
+misc
diff --git a/test/shaping/texts/in-tree/shaper-thai/misc/MANIFEST b/test/shaping/texts/in-tree/shaper-thai/misc/MANIFEST
new file mode 100644
index 0000000..29cfb2f
--- /dev/null
+++ b/test/shaping/texts/in-tree/shaper-thai/misc/MANIFEST
@@ -0,0 +1 @@
+misc.txt



More information about the HarfBuzz mailing list