[
https://issues.apache.org/jira/browse/PDFBOX-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910236#comment-13910236
]
Dominic Tubach commented on PDFBOX-1928:
----------------------------------------
Just note: my patch doesn't completely restore the behavior of 1.8.2. No
dictionary is set if there's none. In my sample code {{(fontDictionary1 ==
fontDictionary2)}} would be true in any case.
> PDResources.getFonts() and PDresources.getXObjects() change underlying
> COSDictionary
> ------------------------------------------------------------------------------------
>
> Key: PDFBOX-1928
> URL: https://issues.apache.org/jira/browse/PDFBOX-1928
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.3, 1.8.4
> Reporter: Dominic Tubach
> Assignee: John Hewson
> Labels: Breaking-Change
> Fix For: 2.0.0
>
> Attachments: PDResources.diff
>
>
> The methods getFonts() and getXObjects() in PDResources change the underlying
> COSDictionary.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)