ODFDOM Java PDF converter messed up encoding

155 views Asked by At

I want to convert an .odt file to .pdf in my web java application. I have an .odt file in Bulgarian (cyrillic) and it converts successfully on my local machine. However, on the cloud server all the cyrillics are skipped and only the latin symbols and numbers remain. What could be the problem ?

1

There are 1 answers

1
Maxim On BEST ANSWER

Seems like server doesn't have some fonts. So, try to install corresponding packages with fonts. For example for Ubuntu this is usually: urw-fonts, ttf-mscorefonts, etc.