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

Tilman Hausherr commented on PDFBOX-5135:
-----------------------------------------

The cause is in GlyphTable.getGlyph(), that one returns null for "no outline". 
This glyph is then missed in GlyfCompositeDescript.initDescriptions(). I'm now 
generating an empty glyph and the files render properly. I'll commit the 
changes on the weekend.

> Image can't render text.
> ------------------------
>
>                 Key: PDFBOX-5135
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5135
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.22
>            Reporter: Daniel Persson
>            Priority: Major
>         Attachments: 514867_709_1_18803-27-1.jpg, 
> 514867_709_1_18803-27-ppm-1.jpg, 517551_709_1_19315-23-1.jpg, 
> 517551_709_1_19315-23-ppm-1.jpg, image-2021-03-18-18-02-17-417.png
>
>
> Hi Team
>  
> We have found a PDF that can't be rendered correctly in PDFBox. It renders 
> correctly in Adobe and Poppler.
>  
> PDFs could not be uploaded so I've added them to a google drive folder. If 
> that doesn't work please tell me and provide a way to send them.
>  
> [https://drive.google.com/drive/folders/1mddhI_rpvyNojj4MKMyunRBrBOQe54HF?usp=sharing]
>  
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to