You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2017/11/13 17:00:00 UTC

[jira] [Commented] (PDFBOX-4008) PDTextBox multiline line spacing

    [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org