[ https://issues.apache.org/jira/browse/PDFBOX-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844960#comment-17844960 ]
Andreas Lehmkühler commented on PDFBOX-5819: -------------------------------------------- [~tilman] everything should be working now. I've overlooked the fact that we have to return the changed hstemCount/vstemCount values as well. I've introduced an inner wrapper class to pass those values around > Make Type2CharStringParser thread-safe > -------------------------------------- > > Key: PDFBOX-5819 > URL: https://issues.apache.org/jira/browse/PDFBOX-5819 > Project: PDFBox > Issue Type: Improvement > Components: FontBox > Affects Versions: 3.0.2 PDFBox, 4.0.0 > Reporter: Andreas Lehmkühler > Assignee: Andreas Lehmkühler > Priority: Major > Fix For: 4.0.0, 3.0.3 PDFBox > > Attachments: image-2024-05-09-13-15-10-058.png > > > It turns out that due to the changes of PDFBOX-5143 the class > {{org.apache.fontbox.cff.Type2CharStringParser}} is (no longer) thread-safe, > see [PR#193| https://github.com/apache/pdfbox/pull/193] of Patrick Corless > for further details. > Instead of synchronizing the usage of the class as proposed in the PR, I'd > prefer to make the class itself thread-safe again -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org