Rtf embedded font conversion to PDF issue

We have some old RTF files with an embedded font from the user’s original desktop. We opened the internals of the RTF and can see the font is in there. However, when we convert the RTF to PDF on our web server with the use embedded font option during save, the embedded font is not rendered.

Are we required to install the custom font on the web server?

@robbe Could you please attach your RTF document here for testing? We will check the issue and provide you more information.

SoftwareAnswers.zip (55.1 KB)
Here is the file.

@robbe The RTF document does not have embedded fonts. While rendering it on my side the following font is missed Baguet Script since it is not present in my system.

Most likely the problem occurs because the fonts used in your input document are not available on the machine where document is converted to PDF. If Aspose.Words cannot find the font used in the document, the font is substituted . This might lead into fonts mismatch and document layout differences due to the different fonts metrics. You can implement IWarningCallback to get notifications when font substitution is performed.

Thank you for your assistance.

1 Like