diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-16 17:01:30 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-16 22:02:47 +0000 |
commit | dde95d8be9bc2817e34429fc38ee6d89d6d5ab75 (patch) | |
tree | e901763a96a94d430f26b4895ec19dd6d1304d01 /testing/resources/pixel/bug_665467_expected_mac.pdf.0.png | |
parent | 9792f16f3ef27a1e0c7f0526cc69637a158e3010 (diff) | |
download | pdfium-dde95d8be9bc2817e34429fc38ee6d89d6d5ab75.tar.xz |
Small fix in CPDF_TrueTypeFont load
The ToUnicode map should not be ignored when it exists. Doing so can cause a
charcode to be assigned an incorrect glyph index, and will result in garbled
text.
Bug: chromium:665467
Change-Id: I21c1bf560a0731d974191d4189ea730ef9868334
Reviewed-on: https://pdfium-review.googlesource.com/5512
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'testing/resources/pixel/bug_665467_expected_mac.pdf.0.png')
-rw-r--r-- | testing/resources/pixel/bug_665467_expected_mac.pdf.0.png | bin | 0 -> 509 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/testing/resources/pixel/bug_665467_expected_mac.pdf.0.png b/testing/resources/pixel/bug_665467_expected_mac.pdf.0.png Binary files differnew file mode 100644 index 0000000000..9f51dcb855 --- /dev/null +++ b/testing/resources/pixel/bug_665467_expected_mac.pdf.0.png |