Hello,
When I try to convert a docx file with Aptos font to PDF, the font is not embedded in the PDF.
How to fix that?
Aptos.zip (68.6 KB)
Hello,
When I try to convert a docx file with Aptos font to PDF, the font is not embedded in the PDF.
How to fix that?
Aptos.zip (68.6 KB)
@bergpatricio Most likely the problem occurs because Aptos
font used the documents is not available in the environment where documents are converted to PDF. To build an accurate document layout the fonts are required. If Aspose.Words cannot find the fonts used in the document the fonts are substituted. This might lead into the layout differences due to differences in fonts metrics. You can implement IWarningCallback to get a notification when font substitution is performed.
The following articles can be useful for you:
https://docs.aspose.com/words/java/specify-truetype-fonts-location/
https://docs.aspose.com/words/java/install-truetype-fonts-on-linux/
Please try either installing or providing the fonts required to render the document. This should resolve the problem. If not, please attach Aptos
font here for testing, we will check the issue again and provide you more information.