title: Font 'Arial' is not available to the JVM
body: <p>I'm working on a Java project that uses Jasperreports. I worked several times in other projects using the same technology, and i had the same problem when trying to print a report in Unix environments.</p>
  
  <p>My project uses:</p>
  
  <ul>
  <li>JBoss 4.2.3.GA</li>
  <li>Java 1.6</li>
  <li>Jasperreports 4.7.0</li>
  </ul>
  
  <p>The exception thrown is:</p>
  
  <pre><code>net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM. See the Javadoc for more details.
  </code></pre>
  
  <p>I found a common solution to solve this issue and ir really works:</p>
  
  <pre><code>sudo apt-get install msttcorefonts
  </code></pre>
  
  <p>However, I want to understand how Jasper works with fonts, and how it searches this fonts installed in Unix environments. Maybe a better question is: how JVM handles native fonts? Can anyone give me a detailed explanation on this subject? How are system fonts made available for the JVM in runtime?</p>