javacharacter-encodingodfodfdom

ODFDOM Java PDF converter messed up encoding


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 ?


Solution

  • 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.