SkPDF: vector canvases can't hint!

BUG=637571
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2273073002

Review-Url: https://codereview.chromium.org/2273073002
This commit is contained in:
halcanary 2016-08-24 10:08:13 -07:00 committed by Commit bot
parent 6321381d18
commit 9df5a4c354

View File

@ -1131,6 +1131,7 @@ void SkPDFDevice::internalDrawText(
} }
bool defaultPositioning = (positioning == SkTextBlob::kDefault_Positioning); bool defaultPositioning = (positioning == SkTextBlob::kDefault_Positioning);
paint.setHinting(SkPaint::kNo_Hinting);
SkAutoGlyphCache glyphCache(paint, nullptr, nullptr); SkAutoGlyphCache glyphCache(paint, nullptr, nullptr);
SkPaint::Align alignment = paint.getTextAlign(); SkPaint::Align alignment = paint.getTextAlign();