diff options
author | Nicolás Peña <npm@chromium.org> | 2017-05-17 00:14:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-17 00:14:57 +0000 |
commit | b332581e185760597e8f0160011b1e6094634ed8 (patch) | |
tree | 7abf577760633850fa22c08f12f31fd471872aac /testing/resources/pixel/bug_665467.in | |
parent | fe91c6c8211cec39f871d9202556e1957bf81983 (diff) | |
download | pdfium-b332581e185760597e8f0160011b1e6094634ed8.tar.xz |
Revert "Small fix in CPDF_TrueTypeFont load"
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 <thestig@chromium.org>
> Commit-Queue: Nicolás Peña <npm@chromium.org>
>
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 <npm@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'testing/resources/pixel/bug_665467.in')
-rw-r--r-- | testing/resources/pixel/bug_665467.in | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/testing/resources/pixel/bug_665467.in b/testing/resources/pixel/bug_665467.in deleted file mode 100644 index 0166ee4c67..0000000000 --- a/testing/resources/pixel/bug_665467.in +++ /dev/null @@ -1,93 +0,0 @@ -{{header}} -{{object 1 0}} -<< - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} -<< - /Type /Pages - /MediaBox [ 0 0 100 100 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} -<< - /Type /Page - /Parent 2 0 R - /Resources - << - /Font << /F1 4 0 R >> - >> - /Contents 9 0 R ->> -endobj -{{object 4 0}} -<< - /Type /Font - /Subtype /TrueType - /BaseFont /ChromeSansMM - /Encoding 6 0 R - /FirstChar 32 - /LastChar 255 - /Name /F1 - /ToUnicode 7 0 R - /FontDescriptor 8 0 R ->> -endobj -{{object 6 0}} -<< - /Differences [ 161 /someunknownname ] - /Type /Encoding ->> -{{object 7 0}} << ->> -stream -/CIDInit /ProcSet findresource begin -12 dict begin -begincmap -/CIDSystemInfo -<</Registry (Adobe) -/Ordering (Identity) -/Supplement 0 ->> def -/CMapName /Adobe-Identity-H def -CMapType 2 def -1 begincodespacerange -<00> <FF> -endcodespacerange -1 beginbfchar -<A1> <043B> -endbfchar -endcmap -CMapName currentdict /CMap defineresource pop -end -end -endobj -{{object 8 0}} -<< - << /Ascent 1000 - /CapHeight 0 - /Descent -200 - /Flags 32 - /FontBBox [ -599 -207 1338 1034 ] - /FontName /ChromeSansMM - /ItalicAngle 0 - /StemV 0 - /Type /FontDescriptor ->> -{{object 9 0}} << ->> -stream -BT -50 50 Td /F1 15 Tf <A1> Tj -ET -endstream -endobj -{{xref}} -trailer << - /Root 1 0 R ->> -{{startxref}} -%%EOF |