From b332581e185760597e8f0160011b1e6094634ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pe=C3=B1a?= Date: Wed, 17 May 2017 00:14:40 +0000 Subject: Revert "Small fix in CPDF_TrueTypeFont load" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit dde95d8be9bc2817e34429fc38ee6d89d6d5ab75. Reason for revert: the test added is flaky Original change's description: > 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 > Commit-Queue: Nicolás Peña > TBR=thestig@chromium.org,tsepez@chromium.org,dsinclair@chromium.org,npm@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Bug: chromium:665467 Change-Id: I704a34f326d31018061bcfd857fb25f7e4ee4cc2 Reviewed-on: https://pdfium-review.googlesource.com/5493 Reviewed-by: Nicolás Peña Commit-Queue: Nicolás Peña --- testing/resources/pixel/bug_665467_expected_mac.pdf.0.png | Bin 509 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 testing/resources/pixel/bug_665467_expected_mac.pdf.0.png (limited to 'testing/resources/pixel/bug_665467_expected_mac.pdf.0.png') diff --git a/testing/resources/pixel/bug_665467_expected_mac.pdf.0.png b/testing/resources/pixel/bug_665467_expected_mac.pdf.0.png deleted file mode 100644 index 9f51dcb855..0000000000 Binary files a/testing/resources/pixel/bug_665467_expected_mac.pdf.0.png and /dev/null differ -- cgit v1.2.3