t-houssian / fillpdf

A python library to make filling pdfs much easier
MIT License
131 stars 23 forks source link

How to set font-size when using write_fillable_pdf()? #24

Open nathanramoscfa opened 2 years ago

nathanramoscfa commented 2 years ago

How do I set the font-size of the text I enter into a PDF when using the write_fillable_pdf function? I tried setting the fields in the template PDF to font-size 8, but I think the function resets the font-size to "Auto". So what happens then is there are different font sizes in each field because the various words and numbers are different sizes. So large numbers should up small and small numbers show up large. It looks messy.

vvnbel commented 7 months ago

Have you found a way to change the size? I am also interested in whether it is possible to change the font itself?