1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Also update the width/unicode data when replacing missing glyphs in non-embedded Type1 fonts (issue 18059)

*Please note:* This causes a little bit of movement in the `issue2770` test-case, however this matches the rendering in both Adobe Reader and PDFium.
This commit is contained in:
Jonas Jenwald 2024-07-09 09:34:38 +02:00
parent f9d63201eb
commit 56653e5770
4 changed files with 27 additions and 2 deletions

View file

@ -56,6 +56,7 @@
!issue17679_2.pdf
!issue18030.pdf
!issue18042.pdf
!issue18059.pdf
!issue14953.pdf
!issue15367.pdf
!issue15372.pdf

BIN
test/pdfs/issue18059.pdf Normal file

Binary file not shown.

View file

@ -2990,6 +2990,20 @@
"rounds": 1,
"type": "text"
},
{
"id": "issue18059",
"file": "pdfs/issue18059.pdf",
"md5": "b70373894edfcd571a41caa1a0776b6f",
"rounds": 1,
"type": "eq"
},
{
"id": "issue18059-text",
"file": "pdfs/issue18059.pdf",
"md5": "b70373894edfcd571a41caa1a0776b6f",
"rounds": 1,
"type": "text"
},
{
"id": "issue11139",
"file": "pdfs/issue11139.pdf",