We're sorry GroupDocsApp doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.app

Can't set the font when converting EML to PDF

I have a .EML file and I am receiving it as a a byte stream, I am then trying to convert it to PDF.

I am running in a docker container with an alpine linux base. I am using Java. The eml file has Chinese text and for Chinese font I have font-noto-cjk.

When I convert to PDF the chinese text does not use font-noto-cjk, it uses dejavu font. If I download and add the font file SimSun.ttf then it uses this font and I can view the text. The SimSun.ttf font comes with Windows, but does not come with Alpine Linux and cannot be installed using the package manager.

How can I get groupdocs to use font-noto-cjk when converting an EML file to PDF?

This topic has been moved to the related forum: https://forum.groupdocs.com/t/cant-set-the-font-when-converting-eml-to-pdf/12874