summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_transformpage.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-05-17 14:48:29 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-17 19:08:33 +0000
commit17f4e0268b31f2f75a01567b83dbb763680344e1 (patch)
tree3d9a738f0063a68be17d5011949ab255861ff85b /fpdfsdk/fpdf_transformpage.cpp
parentc559156da52805513e11b1b2a057001b6fa63f90 (diff)
downloadpdfium-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 'fpdfsdk/fpdf_transformpage.cpp')
0 files changed, 0 insertions, 0 deletions