You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "flywire (Jira)" <ji...@apache.org> on 2022/03/17 21:42:00 UTC
[jira] [Comment Edited] (PDFBOX-5390) TextToPDF appends space to each line
[ https://issues.apache.org/jira/browse/PDFBOX-5390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508441#comment-17508441 ]
flywire edited comment on PDFBOX-5390 at 3/17/22, 9:41 PM:
-----------------------------------------------------------
I understand this version is not available as a compiled Windows download yet so I haven't confirmed the fix.
Can you confirm that with this fix all leading and trailing spaces, and blank lines, are retained using pdfbox-app TextToPDF and ExtractText? I'm not sure how a blank line would be retained, it might need to be generated as a space character (ie no longer blank).
Test code:
"Lorem ipsum dolor sit amet,\n"
" consectetur adipiscing \n"
"\n"
"elit. sed do eiusmod"
Trailing CRLF comment noted.
was (Author: flywire):
I understand this version is not available as a compiled Windows download yet so I haven't confirmed the fix.
Can you confirm that all leading and trailing spaces, and blank lines, are retained using pdfbox-app TextToPDF and ExtractText? I'm not sure how a blank line would be retained, it might need to be generated as a space character (ie no longer blank).
Test code:
"Lorem ipsum dolor sit amet,\n"
" consectetur adipiscing \n"
"\n"
"elit. sed do eiusmod"
Trailing CRLF comment noted.
> TextToPDF appends space to each line
> ------------------------------------
>
> Key: PDFBOX-5390
> URL: https://issues.apache.org/jira/browse/PDFBOX-5390
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.25
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.26, 3.0.0 PDFBox
>
>
> As reported by "flywire" on the users mailing list.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org