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:
@ -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: {
|
||||
|
Reference in New Issue
Block a user