Word to PDF -> conversion when fonts are missing in server

Hello,

if possible I would like to clarify if there is any way to render Word document on server side (linux/unix) as PDF without having those fonts on the machine.

After setting:

options.setFontEmbeddingMode(PdfFontEmbeddingMode.EMBED_NONE);

We still receive messages (via document callback) that certain font could not be found and ASPOSE is using different one instead.

As result those fonts are not embedded (as required) but now document declares/uses different ones according to the rules ASPOSE have replaced them.

So the question is - can this be avoided?
Are the fonts required when document is saved as PDF or this would be technically possible to generate it without them?
Of course we are aware that document might look differently depending on fonts installed on user devices but this is acceptable.

Thank you in advance and kind regards
Piotr


Hi Piotr,

Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). If Aspose.Words cannot find any fonts on the file system, it renders the document using the free Gentium font that is embedded into the Aspose.Words assembly. Please refer to the following article:

Font Availability and Substitution