About the abnormal font in picture when generating PDF

Hi guy,
As is discussed at About the font authority for converting PDF using apose.words python via .net · Issue #416 · aspose-free-consulting/projects (github.com), I post the sample document here, please have a check!
Cover Sample.docx (23.7 KB)

My env. is as follows:
OS: redhat 7.9.
python: 3.9.12
aspose.words: 24.5.0

@space_chang Could you please also provide your ouput document here?

@space_chang The image in the document is a WMF file, so this problem may be related to some missing libraries. You can try to check our available docker files https://github.com/aspose-words/Aspose.Words-for-Python-via-.NET/blob/master/Dockerfile and try to set up your environment in the same way. If you still have a problem, please try to create your own dockerfile to help us reproduce the problem on our side.

@vyacheslav.deryushev Sorry for late response due to something else.

@space_chang Could you please also provide your ouput document here?

Now, i cannot convert above sample document into PDF and share it with you because extra approval is needed. According to my previous testing result, when i use font of ‘calibri.ttf’ to generate PDF by Aspose.words, the EMF figure can be converted into the PDF normally. you can have a try.

@space_chang The image in the document is a WMF file, so this problem may be related to some missing libraries. You can try to check our available docker files https://github.com/aspose-words/Aspose.Words-for-Python-via-.NET/blob/master/Dockerfile and try to set up your environment in the same way. If you still have a problem, please try to create your own dockerfile to help us reproduce the problem on our side.

Sure. i will try it!

@space_chang Thank you for providing additional information.