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

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

[~cdokolas] please run your application with a snapshot build and check that it 
works:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/fontbox/3.0.7-SNAPSHOT/

Btw while testing I noticed that it makes a difference what version of the font 
is used, it doesn't occur with the current version, maybe because the glyph 
order is different. (the zero length glyph has GID 132 in the old version, GID 
761 in the new one)

> 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
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0
>
>         Attachments: PDFBOX-6085-demo.pdf
>
>
> 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