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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Embed fonts

Thread ID:





92575 Jan 22,2010 01:32 PM UTC Jan 25,2010 08:58 AM UTC WinForms 1
Tags: PDF
Barbara Tacchino
Asked On January 22, 2010 01:32 PM UTC


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 08:58 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon