PJ
Pravin Joshua D
Syncfusion Team
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.
C#:
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.
Regards,
Pravin Joshua D