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

Free Support Forum - aspose.com

Set font to verdana

Hi,

I want to generate PDF using verdana font. I tried by setting FontName=verdana on section element. But it is getting defaulted to Times-Roman. I tied from java code also, it did not work.

Can you please let me know how can this be done.

Thanks

Mamatha

Hi Mamatha,

Thanks for using our products.

You can set font for each Segment within Section by using "segment1.TextInfo.FontName" property, kindly check the following documentation links for details and code snippets as per your requirement.

Font Handling

Please feel free to contact support in case you need any further assistance.

Thanks & Regards,

Hi Mamatha,


Thanks for contacting support.

Adding more to Rashid’s comments, please visit the following link for further information on Fonts embedding while creating PDF