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

Tilman Hausherr commented on PDFBOX-6085:
-----------------------------------------

Thank you, I am able to reproduce the problem. It happens with GID 596. For 
some reason the content read isn't the same when read in 
{{addCompoundReferences()}}. The position isn't the same.

> TTFSubsetter.buildGlyfTable() modifies glyphIds while iterating over its 
> entries possibly causing ConcurrentModificationException to be thrown
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-6085
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6085
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.35, 3.0.6 PDFBox
>            Reporter: Constantine Dokolas
>            Priority: Major
>
> Modifying a {{TreeSet}} while iterating over its members is prohibited as it 
> may throw a {{ConcurrentModificationException}} if the set is actually 
> modified.
> This can be observed during subsetting some fonts, e.g. Devanagari 
> (NotoSansDevanagari).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to