From 9df5a4c354de0c8f54983f33c792327d782d16f3 Mon Sep 17 00:00:00 2001 From: halcanary Date: Wed, 24 Aug 2016 10:08:13 -0700 Subject: [PATCH] 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 --- src/pdf/SkPDFDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 0dc8fef8dd..a36125f380 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -1131,6 +1131,7 @@ void SkPDFDevice::internalDrawText( } bool defaultPositioning = (positioning == SkTextBlob::kDefault_Positioning); + paint.setHinting(SkPaint::kNo_Hinting); SkAutoGlyphCache glyphCache(paint, nullptr, nullptr); SkPaint::Align alignment = paint.getTextAlign();