-
-
Notifications
You must be signed in to change notification settings - Fork 813
Open
Labels
Description
What were you trying to do?
I'm modifying a pdf file, adding some text in specific places.
How did you attempt to do it?
I added the new font trough FontKit and inserted the text with drawText
Here the code
pages[2].drawText("effettuare", { x: x_pos, y: y_pos, size: fontSize, font: hindRegular, color: white, rotate: degrees(0), })
What actually happened?
It is working properly for most part of the words. But if I write for example "effettuare" it spits the word. The result on the pdf is "eff ettuare"
What did you expect to happen?
I would expect the word to be connected
How can we reproduce the issue?
Open the fiddle and download the file
https://jsfiddle.net/danigusm/q1796gr0/4/
Version
1.17.1
What environment are you running pdf-lib in?
Browser
Checklist
- My report includes a Short, Self Contained, Correct (Compilable) Example.
- I have attached all PDFs, images, and other files needed to run my SSCCE.
Additional Notes
No response