I am building a PDF that uses Minion Pro, an OpenType font. I’m having trouble getting Aspose to apply it; instead, it reverts to Times New Roman. If I set serifFont to, say, “Segoe Condensed”, the font is applied correctly, likely because it’s a TrueType font. Looking at this forum’s history, support said as recently as 2008 that there was no OpenType support. Has the situation changed since then? If so, what’s the minimum Aspose.Pdf version I need, and how do I need to change this code?
private const string serifFont = “Minion Pro Regular”;
private TextInfo defaultStyle = new TextInfo()
FontName = serifFont,
FontSize = 24
public override void GenerateReport()
Text t = new Text(“2008 Jeep Wrangler Unlimited X”, defaultStyle);
Thanks for using our products.
Aspose.Pdf for .NET supports fonts with OpenType Layout (I have tested it with Arimo) but I am not entirely certain about its compatibility with Minion Pro font that you are using. Can you please share the font file so that we can test the scenario at our end. We apologize for your inconvenience.
I have sent the fonts to you through PM.
Thanks for sharing the fonts files.<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>
have tested the scenario and I am able to notice that OpenType Fonts are not being honored during PDF generation. For the
sake of correction, I have logged it in our issue tracking system as PDFNET-29156. We will investigate this
issue in details and will keep you updated on the status of a correction.<span style=“font-size:10.0pt;
We apologize for your inconvenience.