You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Marc Stuart (JIRA)" <ji...@apache.org> on 2016/07/01 21:46:11 UTC
[jira] [Created] (PDFBOX-3409) TextToPDF drops leading spaces
Marc Stuart created PDFBOX-3409:
-----------------------------------
Summary: TextToPDF drops leading spaces
Key: PDFBOX-3409
URL: https://issues.apache.org/jira/browse/PDFBOX-3409
Project: PDFBox
Issue Type: Bug
Components: Rendering
Affects Versions: 1.8.10
Environment: AIX Version 7
Reporter: Marc Stuart
Fix For: 1.8.10
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 don't see how to attach files here, but I will if I can do it after creating the ticket. 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 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