Merge "Fix incorrect return value on missing glyph" into lmp-dev

This commit is contained in:
Raph Levien
2014-08-27 16:24:13 +00:00
committed by Android (Google) Code Review

View File

@@ -39,7 +39,7 @@ bool MinikinFontSkia::GetGlyph(uint32_t codepoint, uint32_t *glyph) const {
uint16_t glyph16;
paint.textToGlyphs(&codepoint, sizeof(codepoint), &glyph16);
*glyph = glyph16;
return !!glyph;
return !!glyph16;
}
static void MinikinFontSkia_SetSkiaPaint(const MinikinFont* font, SkPaint* skPaint, const MinikinPaint& paint) {