[ 
https://issues.apache.org/jira/browse/PDFBOX-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283806#comment-16283806
 ] 

Tilman Hausherr commented on PDFBOX-4001:
-----------------------------------------

It is invalid for that font because code 10 isn't defined. This may be 
different in other fonts (e.g. subsets). ReportMill includes a code 10 that 
doesn't have a glyph and now its user expects that our error handling is the 
same as several other viewers.

I'll investigate this again and will try to make the change so that it doesn't 
affect too many of our test file renderings. I'm thinking on making the change 
only for the LF.

> 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
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.9, 3.0.0 PDFBox
>
>         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]

Reply via email to