From 17f4e0268b31f2f75a01567b83dbb763680344e1 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Wed, 17 May 2017 14:48:29 -0400 Subject: Reland: Small fix in CPDF_TrueTypeFont load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Commit-Queue: Nicolás Peña --- testing/resources/pixel/bug_665467_expected.pdf.0.png | Bin 0 -> 467 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 testing/resources/pixel/bug_665467_expected.pdf.0.png (limited to 'testing/resources/pixel/bug_665467_expected.pdf.0.png') diff --git a/testing/resources/pixel/bug_665467_expected.pdf.0.png b/testing/resources/pixel/bug_665467_expected.pdf.0.png new file mode 100644 index 0000000000..617cb0a916 Binary files /dev/null and b/testing/resources/pixel/bug_665467_expected.pdf.0.png differ -- cgit v1.2.3