[
https://issues.apache.org/jira/browse/PDFBOX-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283363#comment-16283363
]
Mark Lindner commented on PDFBOX-4001:
--------------------------------------
@[~tilman]:
Why do you think LINE FEED (0Ah) is an invalid character in PDF documents?
Section 7.3.4.2 “Literal Strings” (page 15) of the PDF 1.7 spec clearly states
that LINE FEED (0Ah) is a valid character in literal strings
(see
http://wwwimages.adobe.com/content/dam/acom/en/devnet/pdf/pdf_reference_archive/pdf_reference_1-7.pdf)
IMHO PDFBOX should not render such boxes for LINE FEED (and the other
mentioned) characters.
> Rendering LineFeed (No Unicode mapping for .notdef (10))
> --------------------------------------------------------
>
> Key: PDFBOX-4001
> URL: https://issues.apache.org/jira/browse/PDFBOX-4001
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 7 Enterprise
> jdk 1.7.80x64
> PDF Creator Printer / Network printer
> Reporter: Adrian-Călin Bunziac
> Priority: Minor
> Attachments: PDFBOX-2334-reduced.pdf, PDFBOX-4001-reduced.pdf,
> ReportMill template content.png, pdf_linefeed_no_glyph.pdf,
> pdfbox_#2_using_PDDocument_save.pdf, pdfbox_sourcefile.pdf,
> pdxbox_#2_printjob.pdf, reportmill_#2.pdf, reportmill_#2_content.txt,
> test_java_prog.txt
>
>
> Printing of on PDF Document does not occurs correctly: linefeed is also
> printed as a char "without glyph".
> org.apache.pdfbox.pdmodel.font.PDSimpleFont toUnicode
> WARNUNG: No Unicode mapping for .notdef (10) in font Helvetica
> org.apache.pdfbox.rendering.TTFGlyph2D getPathForGID
> WARNUNG: No glyph for 10 in font Helvetica
> Attachments:
> pdf_sourcefile.pdf -> the pdf document to be printed
> pdf_linefeed_no_glyph.pdf -> the result of the issued printjob, printed by
> "PDF CREATOR PRINTER" (looks the same on a real printer)
> test_java_prog.txt -> java program to test it
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]