title: Jaspersoft - Dynamic Reports Custom Font "Font is not available to the JVM"
body: <p>I currently use dynamic reports framework, which is a part of jasper soft reports, their official website is inactive for some reason, and all links to their documentation is unavailable.
  To the point, I am facing a problem when trying to use a custom font in my java desktop application. I remember in the old documentation I had to put two files in the class path, a fonts.xml and a jasperreports_extensions.properties.</p>
  
  <p>I have added these files to the class path with propper values, yet whenever I try to run the report I get tat "MyFont" is not available to the JVM.</p>
  
  <p>propeties file content:</p>
  
  <pre><code>net.sf.jasperreports.extension.registry.factory.simple.font.families=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
  
  net.sf.jasperreports.extension.simple.font.families.drfonts=fonts.xml
  </code></pre>
  
  <p>fonts.xml content:</p>
  
  <pre><code>&lt;fontFamilies&gt;
  &lt;fontFamily name="MyFont"&gt;
      &lt;normal&gt;permitsapp/fonts/arial/arial.ttf&lt;/normal&gt;
      &lt;bold&gt;permitsapp/fonts/arial/arialbd.ttf&lt;/bold&gt;
      &lt;italic&gt;permitsapp/fonts/arial/ariali.ttf&lt;/italic&gt;
      &lt;boldItalic&gt;permitsapp/fonts/arial/arialbi.ttf&lt;/boldItalic&gt;
      &lt;pdfEncoding&gt;Identity-H&lt;/pdfEncoding&gt;
      &lt;pdfEmbedded&gt;true&lt;/pdfEmbedded&gt;
  &lt;/fontFamily&gt;
  </code></pre>
  
  <p></p>
  
  <p>I tried looking all over the internet I found no help, if any is provided I'd be thankful!.</p>