[
https://issues.apache.org/jira/browse/PDFBOX-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159383#comment-15159383
]
John Hewson commented on PDFBOX-1807:
-------------------------------------
You can't assume that a tab is 8 spaces, it could be any number.
> 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]