We tried in a variety of input files with the fonts installed on the system and then rendered the document to pdf.
Much to our surprise, the fonts in the pdf rendition are different from the original fonts.
The same thing works when we use office to save_as the word document and we can see the exact fonts.
I think the above code is for .net
Anyway I used this for Java
PdfSaveOptions options= new PdfSaveOptions();
options.setEmbedFullFonts(true);
options.setFontEmbeddingMode(0);
Can you please point me to dev references to understand the options available in setFontEmbeddingMode and setEmbedFullFonts to understand the impact on size , correctness and speed of rendering the pdf.
Please note that some fonts are large (several megabytes) and embedding them without subsetting will result in large output documents. We suggest you please read the detail of these methods from here: