diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index fd099cac7..7c9205a81 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -135,7 +135,6 @@ indic_features[] = * Positioning features. * We don't care about the types. */ - {HB_TAG('d','i','s','t'), F_GLOBAL}, {HB_TAG('a','b','v','m'), F_GLOBAL}, {HB_TAG('b','l','w','m'), F_GLOBAL}, }; @@ -163,7 +162,6 @@ enum { _INDIC_PSTS, _INDIC_HALN, - _INDIC_DIST, _INDIC_ABVM, _INDIC_BLWM, diff --git a/src/hb-ot-shape-complex-khmer.cc b/src/hb-ot-shape-complex-khmer.cc index b1fa0156a..73921ed9b 100644 --- a/src/hb-ot-shape-complex-khmer.cc +++ b/src/hb-ot-shape-complex-khmer.cc @@ -60,7 +60,6 @@ khmer_features[] = * Positioning features. * We don't care about the types. */ - {HB_TAG('d','i','s','t'), F_GLOBAL}, {HB_TAG('a','b','v','m'), F_GLOBAL}, {HB_TAG('b','l','w','m'), F_GLOBAL}, }; @@ -80,7 +79,6 @@ enum { _KHMER_BLWS, _KHMER_PSTS, - _KHMER_DIST, _KHMER_ABVM, _KHMER_BLWM, diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc index 14d215eac..f734a3371 100644 --- a/src/hb-ot-shape-complex-myanmar.cc +++ b/src/hb-ot-shape-complex-myanmar.cc @@ -66,7 +66,6 @@ myanmar_positioning_features[] = * Positioning features. * We don't care about the types. */ - HB_TAG('d','i','s','t'), /* Pre-release version of Windows 8 Myanmar font had abvm,blwm * features. The released Windows 8 version of the font (as well * as the released spec) used 'mark' instead. The Windows 8 diff --git a/src/hb-ot-shape-complex-use.cc b/src/hb-ot-shape-complex-use.cc index 1ea2957f2..7f4b6f346 100644 --- a/src/hb-ot-shape-complex-use.cc +++ b/src/hb-ot-shape-complex-use.cc @@ -95,7 +95,6 @@ use_positioning_features[] = * Positioning features. * We don't care about the types. */ - HB_TAG('d','i','s','t'), HB_TAG('a','b','v','m'), HB_TAG('b','l','w','m'), }; diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index c8bda2aad..cf40ff973 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -300,6 +300,7 @@ horizontal_features[] = {HB_TAG('c','l','i','g'), F_GLOBAL}, {HB_TAG('c','u','r','s'), F_GLOBAL}, {HB_TAG('k','e','r','n'), F_GLOBAL_HAS_FALLBACK}, + {HB_TAG('d','i','s','t'), F_GLOBAL}, {HB_TAG('l','i','g','a'), F_GLOBAL}, {HB_TAG('r','c','l','t'), F_GLOBAL}, }; diff --git a/test/shaping/data/in-house/Makefile.sources b/test/shaping/data/in-house/Makefile.sources index 0e9a3a21e..f3a6a6211 100644 --- a/test/shaping/data/in-house/Makefile.sources +++ b/test/shaping/data/in-house/Makefile.sources @@ -14,6 +14,7 @@ TESTS = \ tests/context-matching.tests \ tests/cursive-positioning.tests \ tests/default-ignorables.tests \ + tests/dist.tests \ tests/emoji.tests \ tests/fallback-positioning.tests \ tests/hangul-jamo.tests \ diff --git a/test/shaping/data/in-house/fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf b/test/shaping/data/in-house/fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf new file mode 100644 index 000000000..f3d52e51f Binary files /dev/null and b/test/shaping/data/in-house/fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf differ diff --git a/test/shaping/data/in-house/tests/dist.tests b/test/shaping/data/in-house/tests/dist.tests new file mode 100644 index 000000000..2613808fd --- /dev/null +++ b/test/shaping/data/in-house/tests/dist.tests @@ -0,0 +1 @@ +../fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf::U+0041,U+0056:[A=0+625|V=1+675]