commit | 9df5a4c354de0c8f54983f33c792327d782d16f3 | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Wed Aug 24 10:08:13 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Aug 24 10:08:13 2016 -0700 |
tree | eadb95647cd35f0576362c3ebe0adfc1be91b1f2 | |
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
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 0dc8fef..a36125f 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp
@@ -1131,6 +1131,7 @@ } bool defaultPositioning = (positioning == SkTextBlob::kDefault_Positioning); + paint.setHinting(SkPaint::kNo_Hinting); SkAutoGlyphCache glyphCache(paint, nullptr, nullptr); SkPaint::Align alignment = paint.getTextAlign();