mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1108179 - Default-ignorable characters filtered by the shaper should not render as .notdef boxes in canvas. r=jdaggett
This commit is contained in:
parent
943245f996
commit
555291c8ae
@ -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 -
|
||||
|
Loading…
Reference in New Issue
Block a user