Arial font - not working

You have given me this syntax for fonts.

FormattedText ft = new FormattedText("test text - 12 bold", System.Drawing.Color.Blue, @"C:\Windows\Fonts\arialbd.ttf", EncodingType.Winansi, true, 12);
PdfFileMend mendor = new PdfFileMend("input.pdf", "output.pdf");
mendor.AddText(ft, 1, 300, 400);
ft = new FormattedText("test text - 12 normal", System.Drawing.Color.Blue, @"C:\Windows\Fonts\arial.ttf", EncodingType.Winansi, true, 12);
mendor.AddText(ft, 1, 300, 450);


mendor.Close();

But it never used "arialbd.ttf". It always uses "Times Roman". Please help.

Hi

Thanks for your inquiry. It seems you are using Aspose.Pdf or Aspose.Pdf.Kit. Please confirm and I will move your request to the appropriate forum.

Best regards.

In this case we are using Aspose.Pdf.Kit

Thank you.

Thank you. I will move your request to the appropriate forum.

Best regards,

Hi,

Please see the following thread for details:
FontStyle Problem - Arial not available - #6 by shahzadlatif - Free Support Forum - aspose.com

Regards,

The issues you have found earlier (filed as 9980) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(3)