Hi, I have some problem with XFont class. Sometimes then I create a XFont (Calibri, Size 10), it fails to read FontData: at PdfSharp.Fonts.OpenType.FontData.Read() at PdfSharp.Fonts.OpenType.FontData..ctor(XFont font, XPdfFontOptions options) at PdfSharp.Fonts.OpenType.OpenTypeDescriptor..ctor(XFont font, XPdfFontOptions options) at PdfSharp.Fonts.FontDescriptorStock.CreateDescriptor(XFont font) at PdfSharp.Drawing.XFont.get_Metrics() at PdfSharp.Drawing.XFont.Initialize() at PdfSharp.Drawing.XFont..ctor(String familyName, Double emSize, XFontStyle style, XPdfFontOptions pdfOptions)
But after reboot it start to work. May be there some deadlock or something. How can I handle this?
|