Bug 372629. Try to fix Windows reftests by special-casing ZWSP to never display a missing-glyph box.

This commit is contained in:
roc+@cs.cmu.edu 2007-03-26 21:46:25 -07:00
parent 284e1a994f
commit 71db046d82

View File

@ -1176,7 +1176,7 @@ public:
// 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.IsMissing());
aRun->SetCharacterGlyph(runOffset, g.SetMissing());
} else {
aRun->SetMissingGlyph(runOffset, mString[offset]);
}