You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after applying it, however, the text in the multiline field is displayed in PDF with large line spacing, and the text itself goes beyond the edge of the field
What actually happened?
text in a multiline field has large line spacing
What did you expect to happen?
the text in the multiline field should be displayed with the diacritics font as with the font that is natively used in pdf-lib
How can we reproduce the issue?
in the description
Version
pdf-lib: 1.17.1 and @pdf-lib/fontkit: 1.1.1
What environment are you running pdf-lib in?
Browser, Node
Checklist
My report includes a Short, Self Contained, Correct (Compilable) Example.
I have attached all PDFs, images, and other files needed to run my SSCCE.
Additional Notes
No response
The text was updated successfully, but these errors were encountered:
What were you trying to do?
I want to display a PDF with form fields. If I enter a text with diacritics in such a field, e.g. "Čšť", the pdf will fall into an error
GOOD line height
WRONG line height
How did you attempt to do it?
that's why I tried to use another font that supports diacritics. I created function
setFormFont
OpenSans it ia completely standard font.
after applying it, however, the text in the multiline field is displayed in PDF with large line spacing, and the text itself goes beyond the edge of the field
What actually happened?
text in a multiline field has large line spacing
What did you expect to happen?
the text in the multiline field should be displayed with the diacritics font as with the font that is natively used in pdf-lib
How can we reproduce the issue?
in the description
Version
pdf-lib: 1.17.1 and @pdf-lib/fontkit: 1.1.1
What environment are you running pdf-lib in?
Browser, Node
Checklist
Additional Notes
No response
The text was updated successfully, but these errors were encountered: