mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Apply gradient when stroking text
It fixes #19022. I noticed that the glyph contours weren't correct (for T and x) and because we forgot to close the contour.
This commit is contained in:
parent
bff6738966
commit
79e1f155ac
4 changed files with 55 additions and 10 deletions
1
test/pdfs/issue19022.pdf.link
Normal file
1
test/pdfs/issue19022.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/user-attachments/files/17703776/linear-gradient-on-rect_text.pdf
|
|
@ -10757,5 +10757,13 @@
|
|||
"md5": "73e8cd32bd063e42fcc4b270c78549b1",
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue19022",
|
||||
"file": "pdfs/issue19022.pdf",
|
||||
"md5": "7d7a9c45f93a9db269800855ccffe7cd",
|
||||
"rounds": 1,
|
||||
"type": "eq",
|
||||
"link": true
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue