diff options
author | halcanary <halcanary@google.com> | 2016-08-24 10:08:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-24 10:08:13 -0700 |
commit | 9df5a4c354de0c8f54983f33c792327d782d16f3 (patch) | |
tree | eadb95647cd35f0576362c3ebe0adfc1be91b1f2 /src/pdf | |
parent | 6321381d18f9d478598c0996c1380633003961dd (diff) |
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
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |