diff options
author | Hal Canary <halcanary@google.com> | 2017-07-19 10:12:11 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-19 14:49:57 +0000 |
commit | 10ccb02feeefdad2c34621d20cc858d65169d7be (patch) | |
tree | a25846e6fb21d0050ceb39888bd2c05c3e2d52fd /src/pdf | |
parent | e726e7ca0c99c75f447e6c22b7d341ce921c4e50 (diff) |
SkPDF: Fix color glyphs with absolute positioning
BUG=chromium:617403
BUG=chromium:717570
BUG=skia:3489
Change-Id: I6b336836359e2cdccf5712edce5efd89f682a74d
Reviewed-on: https://skia-review.googlesource.com/24620
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/pdf')
-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 7c5a5de688..674e3718a5 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -1598,7 +1598,7 @@ void SkPDFDevice::internalDrawText( } } if (!has_outline_glyph(gid, glyphCache.get())) { - fMissingGlyphs.push_back({xy, gid}); + fMissingGlyphs.push_back({xy + offset, gid}); } } else { if (!has_outline_glyph(gid, glyphCache.get())) { |