aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-08-24 10:08:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-24 10:08:13 -0700
commit9df5a4c354de0c8f54983f33c792327d782d16f3 (patch)
treeeadb95647cd35f0576362c3ebe0adfc1be91b1f2 /src/pdf
parent6321381d18f9d478598c0996c1380633003961dd (diff)
SkPDF: vector canvases can't hint!
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFDevice.cpp1
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();