Open rubenjimenez opened 7 years ago
you can measure the text and then place it in relation to whatever it is that you want to center against. measuring text - https://github.com/galkahana/HummusJS/wiki/Show-text#measuring-text
Correct, thanks.
Anyway, wouldn't it be good to have a easier method to set up the alignment? I guess it is pretty common.
:) sure. Im not against contributions
Hi,
I'm trying to modify an existing PDF. I got it and it works, but the text I'm writing on I want it to be center aligned.
I've been reading the documentation but I've not found anything about it.
Is there any way to accomplish it?
Thanks in advance!