src/gen-use-table.py                 |    2 +-
 src/hb-ot-shape-complex-use-table.cc |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 877d15e73c24159b26bb7cc6d2f62045d445d0fc
Author: Behdad Esfahbod <[email protected]>
Date:   Wed Jan 3 14:24:44 2018 +0000

    [use] Simplify
    
    Fixes https://github.com/harfbuzz/harfbuzz/pull/661

diff --git a/src/gen-use-table.py b/src/gen-use-table.py
index 586e5943..b361507e 100755
--- a/src/gen-use-table.py
+++ b/src/gen-use-table.py
@@ -354,7 +354,7 @@ data = map_to_use(data)
 
 # Remove the outliers
 singles = {}
-for u in [0x034F, 0x25CC, 0x1107F]:
+for u in [0x034F, 0x25CC]:
        singles[u] = data[u]
        del data[u]
 
diff --git a/src/hb-ot-shape-complex-use-table.cc 
b/src/hb-ot-shape-complex-use-table.cc
index 7e764cd0..e150303e 100644
--- a/src/hb-ot-shape-complex-use-table.cc
+++ b/src/hb-ot-shape-complex-use-table.cc
@@ -482,7 +482,7 @@ static const USE_TABLE_ELEMENT_TYPE use_table[] = {
   /* 11040 */  VBlw,  VBlw,  VAbv,  VAbv,  VAbv,  VAbv,     H,     O,     O,   
  O,     O,     O,     O,     O,     O,     O,
   /* 11050 */     O,     O,     N,     N,     N,     N,     N,     N,     N,   
  N,     N,     N,     N,     N,     N,     N,
   /* 11060 */     N,     N,     N,     N,     N,     N,     B,     B,     B,   
  B,     B,     B,     B,     B,     B,     B,
-  /* 11070 */     O,     O,     O,     O,     O,     O,     O,     O,     O,   
  O,     O,     O,     O,     O,     O,     O,
+  /* 11070 */     O,     O,     O,     O,     O,     O,     O,     O,     O,   
  O,     O,     O,     O,     O,     O,    HN,
 
   /* Kaithi */
 
@@ -719,7 +719,6 @@ hb_use_get_categories (hb_codepoint_t u)
       break;
 
     case 0x11u:
-      if (unlikely (u == 0x1107Fu)) return HN;
       if (hb_in_range<hb_codepoint_t> (u, 0x11000u, 0x110BFu)) return 
use_table[u - 0x11000u + use_offset_0x11000u];
       if (hb_in_range<hb_codepoint_t> (u, 0x11100u, 0x1123Fu)) return 
use_table[u - 0x11100u + use_offset_0x11100u];
       if (hb_in_range<hb_codepoint_t> (u, 0x11280u, 0x11377u)) return 
use_table[u - 0x11280u + use_offset_0x11280u];
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to