зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1403166 - For Khmer AAT fonts, enable the Line Initial Smart Swashes feature, which is (incorrectly) required for some vowels to render properly. r=jrmuizel
This commit is contained in:
Родитель
d31af3f5c1
Коммит
660b6f8f61
|
@ -81,7 +81,8 @@ IsBuggyIndicScript(unicode::Script aScript)
|
|||
{
|
||||
return aScript == unicode::Script::BENGALI ||
|
||||
aScript == unicode::Script::KANNADA ||
|
||||
aScript == unicode::Script::ORIYA;
|
||||
aScript == unicode::Script::ORIYA ||
|
||||
aScript == unicode::Script::KHMER;
|
||||
}
|
||||
|
||||
bool
|
||||
|
@ -119,7 +120,7 @@ gfxCoreTextShaper::ShapeText(DrawTarget *aDrawTarget,
|
|||
// for "split vowels" to work in at least Bengali and Kannada fonts.
|
||||
// Affected fonts include Bangla MN, Bangla Sangam MN, Kannada MN,
|
||||
// Kannada Sangam MN. See bugs 686225, 728557, 953231, 1145515.
|
||||
// Also applies to Oriya fonts, see bug 1370927.
|
||||
// Also applies to Oriya and Khmer, see bug 1370927 and bug 1403166.
|
||||
tempCTFont =
|
||||
CreateCTFontWithFeatures(::CTFontGetSize(mCTFont),
|
||||
aShapedText->DisableLigatures()
|
||||
|
|
Загрузка…
Ссылка в новой задаче