[
https://issues.apache.org/jira/browse/PDFBOX-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809113#comment-17809113
]
Andreas Lehmkühler edited comment on PDFBOX-5704 at 1/21/24 1:37 PM:
---------------------------------------------------------------------
Mike Li mentioned the pdf.js implementation on dev@. Their parser tries to
detect the embedded font type by reading the font itself and applies a fix if
the font type of the font doesn't match with the type from the dictionary.
I've added a fix for CID fonts inspired by that implementation and now the
attached pdf renders as expected.
[~tilman] please run your rendering tests to see if there are any issues,
thanks in advance
was (Author: lehmi):
Mike Li mentioned the pdf.js implementation on dev@. Their parser tries to
detect the embedded font type by reading the font itself and applies a fix if
the font type of the font doesn't match with the type from the dictionary.
I've added a fix for CID fonts inspired by that implementation and now the
attached pdf renders as expected.
[~tilman] please run your rendering test to see if there are some issues,
thanks in advance
> char not rendered
> -----------------
>
> Key: PDFBOX-5704
> URL: https://issues.apache.org/jira/browse/PDFBOX-5704
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.29, 3.0.0 PDFBox
> Reporter: sunnyawake
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: 1.pdf
>
>
> the red char in the attached pdf can't be rendered.
> after debug pdfjs(which renders the char correctly), the font the char uses
> is a cff font,not PDCIDFontType2
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]