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

Daniel Persson edited comment on PDFBOX-5987 at 4/14/25 8:28 PM:
-----------------------------------------------------------------

Hi Tilman.

 

Not sure how often this is used in the wild. But we have switched over to use 
PDFBox rendering more in our systems from Poppler and the last week I had at 
least 7 cases from different newspapers / magazines that had the issue. So 
there is definiatly PDFs produced with this issue.  So if we find a solution, I 
can checkout that commit and try it with more cases to verify.

Best regards

Daniel


was (Author: kalaspuffar):
Hi Tilman.

 

Not sure how often this is used in the wild. But we have switched over to use 
PDFBox rendering more in our systems from Poppler and the last week I had at 
least 7 cases from different newspapers / magazines that had the issue. So 
there is definiatly PDFs produced with this issue.  So if we find a solution, I 
have more cases I can try with to verify it.


Best regards

Daniel

> Can't render some Type1 fonts.
> ------------------------------
>
>                 Key: PDFBOX-5987
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5987
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 3.0.4 PDFBox
>            Reporter: Daniel Persson
>            Priority: Minor
>         Attachments: PDFBOX-5987.cff, PDFBOX-5987_reduced.pdf, 
> font-issue.pdf, screenshot-1.png
>
>
> This PDF seems to have a font rendering issue in PDFBox.
>  
> I've used both Poppler and Chrome to view the PDF, and it renders correctly. 
> Stepping through the code on the first character, I see that we have a 
> rendering list with commands that end in
>  -40 41 DIV -41 21 DIV CLOSEPATH ENDCHAR
>  
> This is not correct if you look at the byte sequence that ends in
> 12 98 -89 12 12 -117 8 14
>  
> Could be interpreted as
> -127 -41 28 -127 -127 0 RRCURVETO ENDCHAR
>  
> So perhaps there is an off-by-one error somewhere or something?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to