Hi,
Hi Nicolas,
Hi,
// Load the document to render.
Document doc = new Document(MyDir + “Rendering.doc”);// Aspose.Words embeds full fonts by default when EmbedFullFonts is set to true. The property below can be changed
// each time a document is rendered.
PdfSaveOptions options = new PdfSaveOptions();
options.EmbedFullFonts = true;// The output PDF will be embedded with all fonts found in the document.
doc.Save(MyDir + “Rendering.EmbedFullFonts Out.pdf”);
Hi Nicolas,
<span lang=“EN-GB” style=“font-family:“Courier New”;color:green;mso-ansi-language:EN-GB;
mso-no-proof:yes”>// Load the document to render.<o:p></o:p>
Document doc = new Document(MyDir + "HELLOWorld.rtf");
// Aspose.Words embeds full fonts by default when EmbedFullFonts is set to true. The property below can be changed
// each time a document is rendered.
PdfSaveOptions options = new PdfSaveOptions();
options.EmbedFullFonts = true;
// The output PDF will be embedded with all fonts found in the document.
doc.Save(MyDir + "Rendering.EmbedFullFonts Out.pdf", options);
We apologize for your inconvenience.
Hi Tahir,

Hi Nicolas,
- Decreasing size of images inside PDF (this can be done only be decreasing quality) : PdfSaveOptions.JpegQuality .
- Subseting fonts, which are embedded into the PDF documents. (Aspose.Words does this by default).
- Compression of text (Usually decreasing of size is not very big) : PdfSaveOptions.TextCompression
Hi,
Hi Nicolas,
Hi Tahir,
Hi Nicolas,
<span lang=“EN-GB” style=“font-size:10.0pt;font-family:“Courier New”;color:#2B91AF;mso-font-kerning:
0pt;mso-no-proof:yes”>Document<span lang=“EN-GB” style=“font-size:10.0pt;
font-family:“Courier New”;mso-font-kerning:0pt;mso-no-proof:yes”> doc = new Document(MyDir
- @“fichier_source.rtf”);<o:p></o:p>
PdfSaveOptions options = new PdfSaveOptions();
options.EmbedFullFonts = true;
options.EmbedStandardWindowsFonts = false;
doc.Save(MyDir + @"AsposeOut.pdf", options);
As I shared with you in my last post, the file size depends on the fonts size embedded in documents. If you embed font in RTF document by using MS Word (WordOptions->Save->Embed fonts in file) and save the file, the file size is increased.
Hope this answers your query. Please let us know if you have any more queries.
Hi Tahir,
Hi Nicolas,
nicolasfortin:
- file conversion_Ghostscript_pdf_to_pdf.pdf : which is an sample of the base file, converted with GhostScript / PsToEdit with full embedded fonts;
If you are converting PDF to PDF with embedded fonts, You can post such queries at Aspose.PDF forum.
Hi,
Hi Nicolas,
Hi,
tahir.manzoor:
Could you please attach your input file used for GhostScript / PsToEdit here for testing? It would be great if you please share the complete details how you convert PDF to PDF (conversion_Ghostscript_pdf_to_pdf.pdf) by using GhostScript. I will investigate the issue on my side and provide you more information.
Hi Tahir,
Hi Nicolas,
Hi,
Hi Nicolas,