We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML to PDF font family Isse

Hello Aspose Team,

I’m using the version 6.2.0.0 of asposePdf. When generating the pdf, i’ve noticed that the rendered pdf is in Times New Roman,

Pdf pdf = new Pdf(outStream);
pdf.PageSetup.PageHeight = PageSize.A4Height;
pdf.PageSetup.Margin = minfo;

pdf.DefaultFontName = “Tahoma”;
TextInfo txtinfo = new TextInfo();
txtinfo.LineSpacing = 2;
txtinfo.FontName = “Tahoma”;
pdf.TextInfo = txtinfo;
pdf.BindHTML(html);

We are evaluating this component, using the free version before actually purchasing.

Can you please tell us whether there is a work around this issue
Regards