mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixing bustage
This commit is contained in:
parent
33428c5bf6
commit
b2190168cd
@ -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