Hi,
I've been attempting to generate a PDF that contains polish characters.
I'm using a .net core 1.1 web app with Syncfusion.Pdf.AspNet.Core v 14.4600.0.20-preview2-final
I've tried various techniques that I've found from the forum / documentation but none of them work.
1.
var fontStream = File.OpenRead("PdfAssets/TheanoDidot-Regular.ttf");
var headingFont = new PdfTrueTypeFont(fontStream, 20);
Throws a NotSupportedException containing inner exception - No data is available for encoding 1252. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
2.
PdfFont font = new PdfTrueTypeFont(new Font("Arial.ttf", 14));
Seems to be from an older / different version to what I'm running - PdfTrueTypeFont constructor does not take 1 argument.
Any assistance would be greatly appreciated.