Hi,
I am trying to convert a Docx to a PDF. Aspose generates a really large PDF file when embedded font option is enabled. Is there a reason for that? can we have a smaller PDF even with embedded fonts ?
Here is the code. I am using the latest Aspose.word DLL.
– With Embedded Fonts enabled
PdfSaveOptions options = new PdfSaveOptions();
options.EmbedFullFonts = true;
Aspose.Words.Document doc = new Aspose.Words.Document("NDI.docx");
// Save the document in PDF format.
doc.Save("SaveDoc2Pdf.pdf", options);
I have attached 3 files:
- NDI.docx
- NDI_with_Embedded_fonts.pdf ( 28 MB ) - Unable to upload this due to file size.
- NDI_without_embedded_fonts.pdf (186 KB )
NDI_without_embedded_fonts.zip (216.6 KB)