Bug 1108179 - Default-ignorable characters filtered by the shaper should not render as .notdef boxes in canvas. r=jdaggett

This commit is contained in:
Jonathan Kew 2014-12-16 09:41:08 +00:00
parent 943245f996
commit 555291c8ae

View File

@ -3420,7 +3420,7 @@ struct MOZ_STACK_CLASS CanvasBidiProcessor : public nsBidiPresUtils::BidiProcess
const gfxTextRun::DetailedGlyph *d = mTextRun->GetDetailedGlyphs(i);
if (glyphs[i].IsMissing()) {
if (glyphs[i].IsMissing() && d->mAdvance > 0) {
newGlyph.mIndex = 0;
if (rtl) {
inlinePos = baselineOriginInline - advanceSum -