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

Fix the computation of unitsPerEm when the fontMatrix has some negative coefficients

It's a follow-up of #18253.
This commit is contained in:
Calixte Denizet 2024-06-24 16:38:17 +02:00
parent 6784124a74
commit 42bb2b0737
4 changed files with 10 additions and 2 deletions

View file

@ -650,3 +650,4 @@
!issue17998.pdf
!pdfjs_wikipedia.pdf
!bug1539074.pdf
!bug1539074.1.pdf

BIN
test/pdfs/bug1539074.1.pdf Executable file

Binary file not shown.

View file

@ -10098,6 +10098,13 @@
"rounds": 1,
"type": "eq"
},
{
"id": "bug1539074_1",
"file": "pdfs/bug1539074.1.pdf",
"md5": "d15c49142fda433323d3d35f2762cd33",
"rounds": 1,
"type": "eq"
},
{
"id": "bug1903731",
"file": "pdfs/bug1903731.pdf",