[
https://issues.apache.org/jira/browse/PDFBOX-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5987:
------------------------------------
Summary: Can't render some Type1C fonts. (was: Can't render some Type1
fonts.)
> Can't render some Type1C fonts.
> -------------------------------
>
> Key: PDFBOX-5987
> URL: https://issues.apache.org/jira/browse/PDFBOX-5987
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox, 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: [email protected]
For additional commands, e-mail: [email protected]