Fixing bustage

This commit is contained in:
roc+@cs.cmu.edu 2007-07-03 21:07:01 -07:00
parent 33428c5bf6
commit b2190168cd

View File

@ -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 &&