mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
Fixing bustage
This commit is contained in:
parent
2fbe7e618c
commit
9e69ea1eed
@ -1062,9 +1062,9 @@ public:
|
||||
}
|
||||
PRInt32 advance = mAdvances[k]*appUnitsPerDevUnit;
|
||||
WORD glyph = mGlyphs[k];
|
||||
if (gfxFontGroup::IsInvisibleChar(mRangeString[offset])) {
|
||||
aRun->SetCharacterGlyph(runOffset, g.SetMissing());
|
||||
} else if (missing) {
|
||||
NS_ASSERTION(!gfxFontGroup::IsInvalidChar(mRangeString[offset]),
|
||||
"invalid character detected");
|
||||
if (missing) {
|
||||
aRun->SetMissingGlyph(runOffset, mRangeString[offset]);
|
||||
} else if (glyphCount == 1 && advance >= 0 &&
|
||||
mOffsets[k].dv == 0 && mOffsets[k].du == 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user