Daniel Persson created PDFBOX-5987:
--------------------------------------

             Summary: 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
         Attachments: font-issue.pdf

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