diff options
-rwxr-xr-x | src/gen-use-table.py | 3 | ||||
-rw-r--r-- | src/hb-ot-shape-complex-use-table.cc | 2 | ||||
-rw-r--r-- | test/shaping/fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf | bin | 0 -> 1164 bytes | |||
-rw-r--r-- | test/shaping/tests/use-syllable.tests | 1 |
4 files changed, 5 insertions, 1 deletions
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 Binary files differnew file mode 100644 index 00000000..214a1956 --- /dev/null +++ b/test/shaping/fonts/sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf 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@-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@43,0+0] fonts/sha1sum/074a5ae6b19de8f29772fdd5df2d3d833f81f5e6.ttf:--no-glyph-names:U+11320,U+20F0,U+11367:[3=0+502|1=0@33,0+0|4=0@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] |