mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Take into account all rotations before comparing glyph positions
- it aims to fix #14497; - previously, only rotations with an angle 0, 90, 180 or 270 were taken into account; - so generalize to any angle but keep the fast path for 0, 90, ... because they're likely more common than anything else.
This commit is contained in:
parent
5c3b245958
commit
3a7004ca25
4 changed files with 48 additions and 22 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -506,3 +506,4 @@
|
|||
!poppler-90-0-fuzzed.pdf
|
||||
!issue14415.pdf
|
||||
!issue14307.pdf
|
||||
!issue14497.pdf
|
||||
|
|
BIN
test/pdfs/issue14497.pdf
Executable file
BIN
test/pdfs/issue14497.pdf
Executable file
Binary file not shown.
|
@ -6238,5 +6238,11 @@
|
|||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "text"
|
||||
},
|
||||
{ "id": "issue14497",
|
||||
"file": "pdfs/issue14497.pdf",
|
||||
"md5": "7f795a92caa612117b6928f8bb4c5b65",
|
||||
"rounds": 1,
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue