You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2022/01/18 13:56:00 UTC

[jira] [Commented] (PDFBOX-5366) Font not found when the fonts are referenced in the page resources

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

Tilman Hausherr commented on PDFBOX-5366:
-----------------------------------------

But that is the normal state, that the font is in the page resources. This is set in PDFStreamEngine.pushResources / popResources. If your file doesn't work, then I'd suspect that the problem is there somehow.

> Font not found when the fonts are referenced in the page resources
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-5366
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5366
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.25
>            Reporter: Alban Fonrouge
>            Priority: Major
>         Attachments: Look_for_font_in_page_resources.patch
>
>
> We had a document where the fonts were listed in PDFDebugger under Page: 1 / Resources / Fonts, but not found during rendering.
> The issue is in SetFontAndSize, which should also check the resources at the page level. I have attached a patch, but cannot provide a test file as this was a confidential file.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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