fix emoji clipping in hw draw path

I guess we don't want to overwrite the last line in every RGBA glyph
with our one-line texture atlas spacer?

Bug: 10841207
Change-Id: Ief85ca58650c731e9d21dbf90942b7b44670abcc
This commit is contained in:
Victoria Lease
2013-09-19 15:38:21 -07:00
parent a2d65108dd
commit 16c84069a4

View File

@ -353,7 +353,7 @@ void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyp
memset(dstR += dstStride, 0, borderSize); // trailing border column
}
// write trailing border line
memset(dstL, 0, rowSize + 2 * borderSize);
memset(dstL += dstStride, 0, rowSize + 2 * borderSize);
break;
}
case SkMask::kBW_Format: {