Keiron Liddle wrote:

> Hi Vincent,
> 
> No. It is a new BridgeContext every time a document is processed.
> I had a look at it and it seems to me that the problem could be:
> In BridgeContext
> One thread is at line 225, so that thread knows the fontFamilyMap is not 
> null.
> Another thread then goes through line 250 and sets the fontFamilyMap to 
> null. Since fontFamilyMap is static and common to both threads.
> The first thread then returns null.

I suggest we remove the static modifier on fontFamilyMap in BridgeContext

such as a new font family Map is created per document (ie per BridgeContext).


Any comments?

Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to