mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Turning off symbol ligatures can turn off required ligatures also in some fonts. Bug 462387, r+sr=roc
This commit is contained in:
parent
d13a725406
commit
18abf89bcd
@ -178,7 +178,6 @@ DisableUncommonLigatures(ATSUStyle aStyle)
|
||||
kLigaturesType,
|
||||
kLigaturesType,
|
||||
kLigaturesType,
|
||||
kLigaturesType,
|
||||
kLigaturesType
|
||||
};
|
||||
static const ATSUFontFeatureType selectors[NS_ARRAY_LENGTH(types)] = {
|
||||
@ -187,8 +186,7 @@ DisableUncommonLigatures(ATSUStyle aStyle)
|
||||
kRebusPicturesOffSelector,
|
||||
kDiphthongLigaturesOffSelector,
|
||||
kSquaredLigaturesOffSelector,
|
||||
kAbbrevSquaredLigaturesOffSelector,
|
||||
kSymbolLigaturesOffSelector
|
||||
kAbbrevSquaredLigaturesOffSelector
|
||||
};
|
||||
ATSUSetFontFeatures(aStyle, NS_ARRAY_LENGTH(types), types, selectors);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user