We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Maths fonts in PDF

Thread ID:

Created:

Updated:

Platform:

Replies:

68245 Sep 13,2007 05:15 AM Sep 17,2007 07:23 AM Windows Forms 1
loading
Tags: PDF
Dr David John Evans
Asked On September 13, 2007 05:15 AM

Does anybody have any ideas on how to generate LATEX type documents i.e. inserting maths fonts, using EssentialPDF?

Melba Winshia [Syncfusion]
Replied On September 17, 2007 07:23 AM

Hi David,

Thank you for your interest in Essential PDF.

If your intention is to insert maths fonts using EssentialPDF, it can be achieved by using PdfTrueTypeFont class.

[C#]

//Some text that will be converted to symbol fonts
string text = "PUnicode text\nÞí³êîäòåêñò";

//Create symbol fonts and draw the text.
Font f = new Font("Symbol", 16, FontStyle.Italic | FontStyle.Bold);
PdfTrueTypeFont font = new PdfTrueTypeFont(f, 12,true);

page.Graphics.DrawString(text, font, brush, 100, 0, format);

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/PDF.Windows/37360/main.htm

And also, please refer our documentation to get more details regarding this issue:

http://websamples.syncfusion.com/docs/pdf/ug/Fonts.html

If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?

Thanks,
Melba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;