PDFsharp & MigraDoc Foundation

Thread safety, IndexOutOfRangeException
Page 1 of 1

Author:  tutch [ Wed Aug 29, 2018 1:45 pm ]
Post subject:  Thread safety, IndexOutOfRangeException

Version 1.50.4845-RC2a

When running in multiple threads I get this repeatedly.

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PdfSharp.Fonts.OpenType.OpenTypeFontface.CreateFontSubSet(Dictionary`2 glyphs, Boolean cidFont)
at PdfSharp.Pdf.Advanced.PdfCIDFont.PrepareForSave()
at PdfSharp.Pdf.Advanced.PdfType0Font.PrepareForSave()
at PdfSharp.Pdf.Advanced.PdfFontTable.PrepareForSave()
at PdfSharp.Pdf.PdfDocument.PrepareForSave()
at PdfSharp.Pdf.PdfDocument.DoSave(PdfWriter writer)
at PdfSharp.Pdf.PdfDocument.Save(Stream stream, Boolean closeStream)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group