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.

Embed fonts

Thread ID:





92575 Jan 22,2010 08:32 AM Jan 25,2010 03:58 AM Windows Forms 1
Tags: PDF
Barbara Tacchino
Asked On January 22, 2010 08:32 AM


I would like to know if it is possible to directly embed fonts in a PDF file created with Essential PDF.

Thanks in advance for your reply,


Pravin Joshua D [Syncfusion]
Replied On January 25, 2010 03:58 AM

Hi Barbara,

Thank you for using Syncfusion products.
Yes. It is possible to embed fonts in a pdf file, created using Essential PDF. Please use the following code snippet to embed font in the pdf file.

Font fnt = new Font("c:\\Arial.ttf", 12f);
PdfFont font = new PdfTrueTypeFont( fnet, true);
page.Graphics.DrawString("Embedded font", font, brush, 0,100);

Please try this and let us know if you have any questions.

Pravin Joshua D


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.