We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm modifying a pdf file, adding some text in specific places.
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), })
pages[2].drawText("effettuare", { x: x_pos, y: y_pos, size: fontSize, font: hindRegular, color: white, rotate: degrees(0), })
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"
I would expect the word to be connected
Open the fiddle and download the file https://jsfiddle.net/danigusm/q1796gr0/4/
1.17.1
Browser
No response
The text was updated successfully, but these errors were encountered:
This issue is probably related to issues with ligature spacing. PR #1325 provides a fix
Sorry, something went wrong.
No branches or pull requests
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
Additional Notes
No response
The text was updated successfully, but these errors were encountered: