form.enablemultiline() is generating a pdf with too big linehight #1207
Unanswered
Rajasekar24
asked this question in
Q&A
Replies: 1 comment
-
I did not see it set the line height for the text field anywhere, leaving whatever is the default height with no way to specify the line height for text fields Another related issue is with layoutMultilineText which is used by the PDF text field in PDF-Lib... layoutMultilineText does not have the option of specifying the line height, instead the line height is hard coded as font height + height * 0.2. ( which would be better coded as height * 1.2 ) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
am using this wonderful library for filling a pdf form file using a pure js code.
first i have a PDF file with ready form fields, and am using the field name to have the value using
form.setText() then i do enable the multiline using the enableMultiline()
the output is always genertaing multilines as expected BUT its leaving too much space between each line
code sample :
would someone help please ?



Beta Was this translation helpful? Give feedback.
All reactions