mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-12-29 02:31:05 +00:00
#402: M1360309
This commit is contained in:
parent
4e9af1b2f2
commit
7bf1baf33f
@ -223,6 +223,16 @@ if (!mIsDataUserFont || mIsLocalUserFont) {
|
||||
charmap->ClearRange(sr->rangeStart, sr->rangeEnd);
|
||||
}
|
||||
}
|
||||
|
||||
// Bug 1360309: several of Apple's Chinese fonts have spurious blank
|
||||
// glyphs for obscure Tibetan codepoints. Blacklist these so that font
|
||||
// fallback will not use them.
|
||||
// (It is not likely to encounter these on 10.4 or 10.5.)
|
||||
if (mRequiresAAT && (FamilyName().EqualsLiteral("Songti SC") ||
|
||||
FamilyName().EqualsLiteral("Songti TC") ||
|
||||
FamilyName().EqualsLiteral("STSong"))) {
|
||||
charmap->ClearRange(0x0f8c, 0x0f8f);
|
||||
}
|
||||
}
|
||||
|
||||
mHasCmapTable = NS_SUCCEEDED(rv);
|
||||
|
Loading…
Reference in New Issue
Block a user