You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/03/08 18:12:40 UTC

[jira] [Commented] (PDFBOX-3261) Add methods for text spacing and space spacing to allow text justification

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

Tilman Hausherr commented on PDFBOX-3261:
-----------------------------------------

Please have a look here:
https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#651

then tell which operators you need. Maybe Tc and Tw? These are described on page 251 / Table 105. The best would be to use the deprecated appendRawCommands() to create the methods you need and then to test your application. The 2.0 version is going to be released soon so don't wait.

> Add methods for text spacing and space spacing to allow text justification
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-3261
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3261
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Dan Fickling
>            Priority: Minor
>
> I'm the maintainer of openhtmltopdf which is a fork of flying saucer that uses pdf box 2 instead of itext.
> I'm having a blocking issue where there seems to be no way to implement text justification using pdf box. So if I ask very nicely I thought a pdf box maintainer could add the text spacing and space spacing operator to the content stream class.
> Thankyou.
> https://github.com/danfickle/openhtmltopdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org