I am using xdocreport java library to convert .docx to .pdf, conversion is incorrect because my OS is missing some required fonts (MS Gothic). How can I install it on my OS? It's version is

NAME="Red Hat Enterprise Linux Server" VERSION="7.7 (Maipo)


There exists an answer on how to install TrueType fonts on CentOS 7 here: https://unix.stackexchange.com/questions/415246/how-to-install-fonts-for-centos-7/415249

However, you cannot copy that font to a server without licensing it. More information here

  • Seems that Microsoft True type fonts does not include Ms Gothic and does not support Chinese symbols Mar 4 '20 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.