[ot-shape] Enable dist feature by default (#1908)

Fixes https://github.com/harfbuzz/harfbuzz/issues/1907
This commit is contained in:
Khaled Hosny 2019-08-16 00:28:41 +02:00 committed by GitHub
parent bc27f86ffe
commit 2164bd6f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 3 additions and 6 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -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'),
};

View File

@ -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},
};

View File

@ -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 \

View File

@ -0,0 +1 @@
../fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf::U+0041,U+0056:[A=0+625|V=1+675]