diff options
author | Hal Canary <halcanary@google.com> | 2017-11-28 15:10:13 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-28 20:48:37 +0000 |
commit | 9b491b23bbc2aae8ec4ac7ddbcbcf0c2407ff1d8 (patch) | |
tree | 3f8160cbf47c88fb37c8cc6b26f8395b60d416d0 /src/pdf/SkPDFDevice.cpp | |
parent | 725d9dbfa59d6804b157f876a7e5d4c0553c6455 (diff) |
SkPDF: fix fTextScaleX error
BUG=skia:7315
Change-Id: Ic613cb6fb8faed5b0840db4f500940bd6823de66
Reviewed-on: https://skia-review.googlesource.com/76981
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/pdf/SkPDFDevice.cpp')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 10ec6911a2..aae792bb8b 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -414,7 +414,7 @@ void GraphicStackState::updateDrawingState(const SkPDFDevice::GraphicStateEntry& if (state.fTextScaleX) { if (state.fTextScaleX != currentEntry()->fTextScaleX) { - SkScalar pdfScale = state.fTextScaleX * 1000; + SkScalar pdfScale = state.fTextScaleX * 100; SkPDFUtils::AppendScalar(pdfScale, fContentStream); fContentStream->writeText(" Tz\n"); currentEntry()->fTextScaleX = state.fTextScaleX; |