diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-17 14:48:29 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-17 19:08:33 +0000 |
commit | 17f4e0268b31f2f75a01567b83dbb763680344e1 (patch) | |
tree | 3d9a738f0063a68be17d5011949ab255861ff85b /core/fpdfapi/parser | |
parent | c559156da52805513e11b1b2a057001b6fa63f90 (diff) | |
download | pdfium-17f4e0268b31f2f75a01567b83dbb763680344e1.tar.xz |
Reland: 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.
Previously, some bots failed with 'unable to open' the .png file.
Bug: chromium:665467
Change-Id: I435a73647eadcc3ba37bb0120f3b5cee381ae7a3
Reviewed-on: https://pdfium-review.googlesource.com/5610
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser')
0 files changed, 0 insertions, 0 deletions