[ 
https://issues.apache.org/jira/browse/PDFBOX-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16249822#comment-16249822
 ] 

Maruan Sahyoun commented on PDFBOX-4008:
----------------------------------------

There is currently no public API to change the leading directly. Instead it's 
taken from the font's bounding box to replicate how Adobe Acrobat is 
calculating the leading. Could you 
- upload the PDF before doing the change
- upload the PDF after doing the change
- provide a sample code to set the values or at least mention the field you are 
prefilling and sample data to use.

> PDTextBox multiline line spacing
> --------------------------------
>
>                 Key: PDFBOX-4008
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4008
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.7
>         Environment: Windows, Mac OS X
>            Reporter: Marek Zajac
>
> I have a PDTextBox that is multiline and I ve changed the default font /Helv 
> to my own Helvetica that is Unicode. After that change I ve seen the line 
> spacing is larger and I would like to change that. Is there any way of 
> setting up a custom line spacing like there is for a Paragraph ? 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to