//Instantiates DocIORenderer instance for Word to PDF conversion
DocIORenderer renderer = new DocIORenderer();
//Sets EmbedFonts property as true, to embed fonts in resultant PDF
renderer.Settings.EmbedFonts = true;
//Sets EmbedCompleteFonts property as true, to embed complete font information in converted PDF
renderer.Settings.EmbedCompleteFonts = true;
|
Hi Paul,Thank you for contacting Syncfusion support. Please find the details belowRegarding the mess with resultant document:On analysis the given screenshot, we suspect that the issue might be with embed fonts. Kindly share us the input document to analyze further from our side and provide you the prompt solution at earliest.Note: The documents shared will not be disclosed and is only for the purpose to reproduce the issue. We assure you that the document will be deleted from our side once the issue is resolved.Regarding the query I couldn't find anything about embedding fontsWe have already implemented the API to embed fonts in PDF document while converting Word document into Pdf using DocIORenderer. It will be available in our upcoming 2018 Volume 4 release at the mid of December 2018 tentatively.
We suggest you set the below API to embed the fonts in converted PDF which will be available in 2018 Volume 4 release. Please refer the below code snippet:
//Instantiates DocIORenderer instance for Word to PDF conversionDocIORenderer renderer = new DocIORenderer();//Sets EmbedFonts property as true, to embed fonts in resultant PDFrenderer.Settings.EmbedFonts = true;//Sets EmbedCompleteFonts property as true, to embed complete font information in converted PDFrenderer.Settings.EmbedCompleteFonts = true;Regards,Prakash Kumar