Is SpirePDF thread safe when using true type fonts? I'm having strange errors as soon as I have more than 1 thread. It is throwing an System.ArgumentException in mscorlib.
Here is the stack trace :
à System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
à System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
à System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
à System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
à spr.ᜃ(String A_0)
à Spire.Pdf.Graphics.PdfTrueTypeFont.ᜀ(String A_0)
à Spire.Pdf.Graphics.PdfCanvas.ᜀ(String A_0, PdfTrueTypeFont A_1)
à Spire.Pdf.Graphics.PdfCanvas.ᜀ(LineInfo A_0, RectangleF A_1, PdfFontBase A_2, PdfStringFormat A_3)
à Spire.Pdf.Graphics.PdfCanvas.ᜀ(PdfStringLayoutResult A_0, PdfFontBase A_1, PdfStringFormat A_2, RectangleF A_3)
à Spire.Pdf.Graphics.PdfCanvas.ᜀ(PdfStringLayoutResult A_0, PdfFontBase A_1, PdfPen A_2, PdfBrush A_3, RectangleF A_4, PdfStringFormat A_5)
I have the latest version of Spire PDF available (version 3.1.9.5040, runtime version v4.0.30319).
Note : I tried to post an url with my test project to reproduce the problem, but it won't let me.
You can download it here : goo.gl/RpwOhi
Thank you