Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.7.3
-
None
-
None
Description
this code in PDFFont.encode isn't thread safe,
COSName encodingName = (COSName)encoding;
cmap = (CMap)cmapObjects.get( encodingName );
if( cmap != null )
cmap may be cleared in PDFont.clearResources(), and it may be cleared in the interval between the two get() calls. The first get() may be non null, while the second may be null. The second get may be removed altogether.