Arbitrary or custom spacing size in drawText (justify, center or right alignment) #1197
Unanswered
Canzervero
asked this question in
Q&A
Replies: 1 comment
-
Hi! Sorry, I can't help you with your question .. But what you build is exactly what I would need .. Is there a possibility for sharing your code? It would be so nice to add justification ... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm using pdf-lib to create pdf files and is awesome, however, drawText don't has option to justify, center or right alignment, therefore, I have developed functions to make it possible, here evidences of results: justified, centered and right alignement.
The solution is not perfect because as could be seen, the alignement to right margin in the justified and right files, there is a little spacing (milimetric) that not is filled in.
For the above, someone known how to insert arbitrary o custom spacing size in the text when drawText function is used? Is that possible?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions