Font ‘Arial’ is not available to the JVM

If you are using JasperReports and in Linux getting an exception like:

net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM. See the Javadoc for more details.

You will need to install the Microsoft fonts. In CentOS, here are the commands we ran to fix the issue.

yum install cabextract xorg-x11-font-utils

rpm -ivh

We restarted our web container and the things are back to normal.