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

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Nov 21 21:48:43 UTC 2017


 .circleci/config.yml                                                    |   11 ++++++++++
 src/gen-use-table.py                                                    |    3 ++
 src/hb-ot-shape-complex-use-table.cc                                    |    2 -
 test/shaping/fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf |binary
 test/shaping/tests/use-syllable.tests                                   |    1 
 5 files changed, 16 insertions(+), 1 deletion(-)

New commits:
commit 9f259769a61f17b47701bbad79e1865571338417
Author: David Corbett <corbett.dav at husky.neu.edu>
Date:   Tue Nov 21 14:16:10 2017 -0500

    Categorize U+A8B4 as Consonant_Medial

diff --git a/src/gen-use-table.py b/src/gen-use-table.py
index e8acc567..4ded5423 100755
--- a/src/gen-use-table.py
+++ b/src/gen-use-table.py
@@ -307,6 +307,9 @@ def map_to_use(data):
 		# TODO: https://github.com/harfbuzz/harfbuzz/pull/609
 		if U == 0x20F0: UISC = Cantillation_Mark; UIPC = Top
 
+		# TODO: https://github.com/harfbuzz/harfbuzz/pull/626
+		if U == 0xA8B4: UISC = Consonant_Medial
+
 		values = [k for k,v in items if v(U,UISC,UGC)]
 		assert len(values) == 1, "%s %s %s %s" % (hex(U), UISC, UGC, values)
 		USE = values[0]
diff --git a/src/hb-ot-shape-complex-use-table.cc b/src/hb-ot-shape-complex-use-table.cc
index ab6730db..fd6978f2 100644
--- a/src/hb-ot-shape-complex-use-table.cc
+++ b/src/hb-ot-shape-complex-use-table.cc
@@ -377,7 +377,7 @@ static const USE_TABLE_ELEMENT_TYPE use_table[] = {
   /* A880 */ VMPst, VMPst,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,
   /* A890 */     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,
   /* A8A0 */     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,
-  /* A8B0 */     B,     B,     B,     B,  FPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,
+  /* A8B0 */     B,     B,     B,     B,  MPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,  VPst,
   /* A8C0 */  VPst,  VPst,  VPst,  VPst,     H, VMAbv,     O,     O,     O,     O,     O,     O,     O,     O,     O,     O,
   /* A8D0 */     B,     B,     B,     B,     B,     B,     B,     B,     B,     B,     O,     O,     O,     O,     O,     O,
 
diff --git a/test/shaping/fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf b/test/shaping/fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf
new file mode 100644
index 00000000..214a1956
Binary files /dev/null and b/test/shaping/fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf differ
diff --git a/test/shaping/tests/use-syllable.tests b/test/shaping/tests/use-syllable.tests
index e06e2fa2..0661142c 100644
--- a/test/shaping/tests/use-syllable.tests
+++ b/test/shaping/tests/use-syllable.tests
@@ -3,3 +3,4 @@ fonts/sha1sum/e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf::U+AA00,U+AA34,U+AA36
 fonts/sha1sum/e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf::U+AA00,U+AA35,U+AA33:[a_cham=0+1121|laMedial_cham=0 at -32,0+0|yaMedial_cham=0+542]
 fonts/sha1sum/e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf::U+AA00,U+AA35,U+AA36:[a_cham=0+1121|laMedial_waMedial_cham=0 at 43,0+0]
 fonts/sha1sum/074a5ae6b19de8f29772fdd5df2d3d833f81f5e6.ttf:--no-glyph-names:U+11320,U+20F0,U+11367:[3=0+502|1=0 at 33,0+0|4=0 at 300,8+0]
+fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf:--no-glyph-names:U+A8AC,U+A8B4,U+A8B5:[2=0+377|3=0+242|4=0+210]
commit cd8c62fd41ca824c5db3c55fd1faa20318ca0bf9
Author: ebraminio <ebrahim at gnu.org>
Date:   Tue Nov 21 01:07:26 2017 -0500

    [ci] Add Oracle Developer Studio (former Sun Studio) based compiler (#621)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 7e06e55d..370252a9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -2,6 +2,16 @@ version: 2
 
 jobs:
 
+  oracledeveloperstudio:
+    docker:
+      - image: fedora
+    steps:
+      - checkout
+      - run: dnf install -y gcc ragel cmake make which glib2-devel freetype-devel cairo-devel libicu-devel graphite2-devel wget tar bzip2 || true
+      - run: wget http://$ODSUSER:$ODSPASS@behdad.org/harfbuzz-private/OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 && tar xf OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 --owner root --group root --no-same-owner
+      - run: CC=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/suncc CXX=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/sunCC cmake -DHB_HAVE_GRAPHITE2=ON -DHB_BUILTIN_UCDN=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_ICU=ON -DHB_HAVE_FREETYPE=ON -Bbuild -H.
+      - run: make -Cbuild
+
   fedora:
     docker:
       - image: fedora
@@ -87,6 +97,7 @@ workflows:
   version: 2
   build:
     jobs:
+      - oracledeveloperstudio
       - fedora
       - archlinux
       - freebsd9


More information about the HarfBuzz mailing list