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/07/04 16:48:11 UTC

[jira] [Resolved] (PDFBOX-3409) TextToPDF drops leading spaces

     [ https://issues.apache.org/jira/browse/PDFBOX-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-3409.
-------------------------------------
    Resolution: Fixed

> TextToPDF drops leading spaces
> ------------------------------
>
>                 Key: PDFBOX-3409
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3409
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.8.10, 1.8.12, 1.8.13, 2.0.1, 2.0.2, 2.0.3
>         Environment: AIX Version 7
>            Reporter: Marc Stuart
>            Assignee: Tilman Hausherr
>              Labels: features
>             Fix For: 1.8.13, 2.0.3, 2.1.0
>
>         Attachments: gprod-better.pdf, gprod.pdf, gprod.txt
>
>
> We want to use TextToPDF in batch command line mode to convert legacy reports which assume a mono-spaced font, but the PDF files created ignore all leading spaces.  Obviously, this messes up column alignment.  We can't use the tool without a fix for this.  Or is there a parameter we can pass?  Here is the command line we are using:  {{java -jar pdfbox-app-1.8.10.jar TextToPDF -standardFont Courier -fontSize 6 gprod.pdf gprod.txt}}.
> I tried downloading 2.0.2, but it is stuck at "WARNING: Building on-disk font cache, this may take a while".  
> P.S.  I am also submitting a second ticket (PDFBOX-3410) regarding the need for orientation control in TextToPDF.  Most of our old legacy reports are 128 characters wide and without a Landscape option, they come out wrapped into illegibility.



--
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