Frequently Asked Questions
Server-side support for PDF conversion with OpenType font
Posted by Rami Taipale (M-Files) on 26 September 2019 01:03 PM
You can convert documents to PDF files with M-Files in few different ways. This article explains why OpenType fonts (OTF) do not always appear correctly in the result file when the conversion is done on the server-side. If the document that contains OTF is Microsoft Excel document, the result of the server-side conversion (PDF file) doesn't contain the OTF information. This limitation does not concern e.g. Microsoft Word or Microsoft PowerPoint documents with OTF.
1.1 Use Case
Files of the object can be automatically converted into PDF form on the server with e.g. workflows. Conversion to PDF on the server can be done for files in such source formats as Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Outlook, and Visio, as well as RTF and OpenOffice files. If the document that is converted is Microsoft Excel file and it contains OpenType fonts (OTF), those OTF's aren't embedded to the result (PDF file) but the OTF is replaced with another font instead. This is a limitation of the software that handles the server-side conversion process.
If you have Microsoft Excel documents where OpenType font (OTF) is used, in some occasions you can do the PDF conversion client side. More information from our User Guide:
Another workaround is to convert the OTF to TrueType font (TTF) with a separate tool. One possible tool is FontForge Open Source Font Editor. When the font has been converted, install the TTF to the M-Files Server Operating System. You must also change the font within the document to the TTF.