oops, forgot to set hinting on font
Bug: skia: Change-Id: I825ecd929a60a450eb179600c4b0b81bda3aaec6 Reviewed-on: https://skia-review.googlesource.com/c/185541 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com> Auto-Submit: Mike Reed <reed@google.com>
This commit is contained in:
parent
3b84baa5ab
commit
463c0737a8
@ -424,6 +424,8 @@ static FlatFlags unpack_paint_flags(SkPaint* paint, uint32_t packed, SkFont* fon
|
||||
font->setEmbeddedBitmaps((f & kEmbeddedBitmap_PaintFlagForFont) != 0);
|
||||
font->setForceAutoHinting((f & kAutoHinting_PaintFlagForFont) != 0);
|
||||
|
||||
font->setHinting((SkFontHinting)((packed >> 14) & BPF_Mask(kHint_BPF)));
|
||||
|
||||
if (f & kAA_PaintFlagForPaint) {
|
||||
if (f & kLCD_PaintFlagForFont) {
|
||||
font->setEdging(SkFont::Edging::kSubpixelAntiAlias);
|
||||
|
Loading…
Reference in New Issue
Block a user