Skip to main content
Arij B. Othman
Participant
Nov 12, 2020 2:43 PM UTC
Question

Line height of the text field

Hello,

When I edit a PDF mapped from my website, the line height of the text change, move to top. I know the PDF edit tools and the mapping line height are different. My questions are

1- Can I set a fix or default line height for my Foxit reader test fields?

2- Can I know the line height of the text field? PS: the PDF is mapped with the java Itext7.

Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

radzmar
Community Expert
Community Expert
Nov 16, 2020 3:57 PM UTC

A height around 5 mm (0.1969 in) I guess.

Translate
Arij B. Othman
Participant
Nov 16, 2020 4:24 PM UTC

There is something weird, when I changed the field height to 5 mm, the text is fixed when I zoom 150% or 50% else the text is still moving!

Translate
Arij B. Othman
Participant
Jan 18, 2021 11:17 AM UTC

Hello,

 
Any update on this case?
 
Thank you.
Translate
radzmar
Community Expert
Community Expert
Nov 16, 2020 10:51 AM UTC

You're facing that effect because the font size 9.8 is too big to fully fit into the form fields. You'll have to set a smaller font size in Foxit or Acrobat Pro. In Acrobat Reader you can't do anything to fix this.

Translate
Arij B. Othman
Participant
Nov 16, 2020 1:07 PM UTC

Make sense, can I know what is the min dimension for the font size Calibri 9.8?

Translate
try67
Community Expert
Community Expert
Nov 15, 2020 12:07 AM UTC

What do you mean by "line height", exactly? And Reader can't edit fields, only fill them in.

Translate
Arij B. Othman
Participant
Nov 16, 2020 9:26 AM UTC
Hello,
As you can see in the screenshot below, my text fields were aligned:
After I edited the text in the third column, the field spec did not change but the text input line changed:

Thank you.

 
Translate