WordsProcessing: PdfFormatProvider: Implement a setting that allows to choose if the fonts should be embedded in the document
Is there a way to prevent font embedding in the RadFlow methodology or is utilizing RadFixed the only way to have a reasonably sized PDF document?
1 comment
ADMIN
Yoan
Posted on:18 Jul 2023 13:13
Hi Leron,
The automatic embedding of fonts happens by default only in the .NET Framework environment and embeds just the fonts used in the document.
If you prefer to skip the fonts embedding then I can suggest referencing .NET Standard assemblies in your project instead. If you decide to do that you should keep in mind that there are some limitations you need to be aware of when working in that environment. I am sending you a few links from our documentation that describe the mentioned limitations, how they take form, and how to avoid them:
Another approach I can offer you is to import and export the result PDF file with the PdfProcesisng library while having the PdfFormatProvider's ShouldEmbedFonts property set to false in order to remove all fonts embedded in it: