Is there any way to include fonts within a WAR distribution such that the JVM can access them? Specifically, I need Arial, and right now, I need to run the following on ALL my servers. This can’t be right.
For Ubuntu:
1.) sudo aptitude install msttcorefonts
For CentOS:
1.) As root 'yum install rpm-build cabextract'
2.) wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
3.) As root 'rpmbuild -ba msttcorefonts-2.0-1.spec'
4.) As root 'rpm -ivh /usr/src/redhat/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm'
Packaging is against the licensing for this product. Find another font, or deal with environment installation.