[
https://issues.apache.org/jira/browse/PDFBOX-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frodo Looijaard updated PDFBOX-1807:
------------------------------------
Attachment: pdfbox-2.0.0-RC3-tabs_spaces.diff
Attached a patch agains 2.0.0-RC3 that will resolve this issue, as well as
handle tabs (they are expanded to spaces on the assumption a non-proportional
font is used).
The patch will also apply to 1.8.11, but the file to patch lives in a different
subdirectory.
> TextToPDF strips leading spaces from input file
> -----------------------------------------------
>
> Key: PDFBOX-1807
> URL: https://issues.apache.org/jira/browse/PDFBOX-1807
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.8.3
> Environment: Win7 64 bit
> Reporter: Mark Mitchell
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: pdfbox-2.0.0-RC3-tabs_spaces.diff
>
>
> When using the TextToPDF utility on a text file that has spaces in the front
> for formatting purposes, the leading spaces on the line are being stripped
> causing the report to no longer looks like it did in the PDF.
> Was this the intended result? Is there a way to turn off the stripping of
> the spaces? If not, can it be added?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]