mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Backing out attempted fix for Windos reftests. I'll follow up with a real fix.
This commit is contained in:
parent
c5e76464ac
commit
119c3a8ea5
@ -1172,14 +1172,7 @@ public:
|
||||
PRInt32 advance = mAdvances[k]*appUnitsPerDevUnit;
|
||||
WORD glyph = mGlyphs[k];
|
||||
if (missing) {
|
||||
// Special-case ZWSP so that it always "works" even if the
|
||||
// font doesn't have the glyph. Don't draw a hexbox and
|
||||
// don't give it width.
|
||||
if (mString[offset] == UNICODE_ZWSP) {
|
||||
aRun->SetCharacterGlyph(runOffset, g.SetMissing());
|
||||
} else {
|
||||
aRun->SetMissingGlyph(runOffset, mString[offset]);
|
||||
}
|
||||
aRun->SetMissingGlyph(runOffset, mString[offset]);
|
||||
} else if (glyphCount == 1 && advance >= 0 &&
|
||||
mOffsets[k].dv == 0 && mOffsets[k].du == 0 &&
|
||||
gfxTextRun::CompressedGlyph::IsSimpleAdvance(advance) &&
|
||||
|
Loading…
Reference in New Issue
Block a user