Free Support Forum - aspose.com

Font Embedding

Hello!

I’m trying to get a pdf with fonts embedded after converting from a word document.

So there is a word document which I’m opening with aspose.words.
Then I’m saving the word to pdf:
doc.Save(docstream, SaveFormat.Aspose.Pdf);
pdf.BindXml(docstream, null);

To embed the fonts I set:
pdf.TextInfo.IsFontEmbedded = true;

pdf.Save();


But when I’m opening the PDF Document and check the properties --> no fonts are shown as embedded.

Am I doing something wrong?

Thanks.

Hi,

Please try the solution mentioned at http://www.aspose.com/Community/Forums/thread/106614/embed-fonts-into-a-pdf-when-converting-doc-to-pdf.aspx

If you still have problem then please provide us with the word document so that we can look at it.

Thanks.