[ 
https://issues.apache.org/jira/browse/PDFBOX-5366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alban Fonrouge updated PDFBOX-5366:
-----------------------------------
    Description: 
We had a document where the fonts were listed in PDFDebugger under Page: 1 / 
Resources / Fonts, but not found during rendering.

The issue is a malformed Stream in a Form XObject, which is causing an 
exception that is not intercepted. Then the resources are not restored when the 
processing of the page continues after that XObject.

 

  was:
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.

 


> Unhandled IOException thrown from BaseParser creates issue in 
> PDFStreamEngine.processStreamOperators
> ----------------------------------------------------------------------------------------------------
>
>                 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
>
> We had a document where the fonts were listed in PDFDebugger under Page: 1 / 
> Resources / Fonts, but not found during rendering.
> The issue is a malformed Stream in a Form XObject, which is causing an 
> exception that is not intercepted. Then the resources are not restored when 
> the processing of the page continues after that XObject.
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to