While trying to generate PDF with html string we get the exception:
The type initializer for ‘Gdip’ threw exception
It was mentioned that it is fixed in version 22.6, we have 22.12 (Skia 2.88.3)
new Aspose.Pdf.Document( new MemoryStream(System.Text.Encoding.UTF8.GetBytes(htmlText)), new Aspose.Pdf.HtmlLoadOptions (ResourcesDirectoryPath) );
On windows that code works perfectly.
Need urgent help and/or workaround (we bought new license for new version and new version looks broken).
OS: Ubuntu 20.04