title: Jasper Report Font error
body: <p>In windows how to solve this issue error part is  <code>net.sf.jasperreports.engine.util.JRFontNotFoundException: Font</code>  </p>
  
  <p>I am trying to generate pdf file with <em>JasperReports</em>.</p>
  
  <pre><code>Exception in thread "main" java.lang.ExceptionInInitializerError
  at net.sf.jasperreports.engine.fill.JRBaseFiller.&lt;init&gt;(JRBaseFiller.java:121)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.&lt;init&gt;(JRVerticalFiller.java:88)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.&lt;init&gt;(JRVerticalFiller.java:103)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.&lt;init&gt;(JRVerticalFiller.java:61)
  at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:153)
  at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:55)
  at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)
  at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:849)
  at com.p41.jasper.ReportGenerator.generateReport(ReportGenerator.java:46)
  at com.p41.jasper.ReportGenerator.main(ReportGenerator.java:67)
  Caused by: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '
      net/sf/jasperreports/fonts/pictonic/pictonic.ttf
      net/sf/jasperreports/fonts/pictonic/pictonic.svg
      net/sf/jasperreports/fonts/pictonic/pictonic.eot
      net/sf/jasperreports/fonts/pictonic/pictonic.woff
  ' is not available to the JVM. See the Javadoc for more details.
  at net.sf.jasperreports.engine.util.JRFontUtil.checkAwtFont(JRFontUtil.java:358)
  at net.sf.jasperreports.engine.fonts.SimpleFontFace.getInstance(SimpleFontFace.java:72)
  at net.sf.jasperreports.engine.fonts.SimpleFontFamily.setNormal(SimpleFontFamily.java:99)
  at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFamily(SimpleFontExtensionHelper.java:261)
  at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFamilies(SimpleFontExtensionHelper.java:232)
  at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontFamilies(SimpleFontExtensionHelper.java:193)
  at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontFamilies(SimpleFontExtensionHelper.java:162)
  at net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.getExtensions(FontExtensionsRegistry.java:56)
  at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:110)
  at net.sf.jasperreports.engine.util.JRStyledTextParser.&lt;clinit&gt;(JRStyledTextParser.java:83)
  ... 10 more
  </code></pre>
  
  <p>Here is my <em>jrxml</em> file:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="itemreport" pageWidth="1600" pageHeight="595" orientation="Landscape" columnWidth="1560" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"&gt;
      &lt;queryString&gt;
          &lt;![CDATA[select Id,Empno,Depart,Empname,Desig,Locat  from shom]]&gt;
      &lt;/queryString&gt;
  
      &lt;field name="Id" class="java.lang.Integer"/&gt;
      &lt;field name="Empno" class="java.lang.String"/&gt;
      &lt;field name="Depart" class="java.lang.String"/&gt;
      &lt;field name="Empname" class="java.lang.String"/&gt;
      &lt;field name="Desig" class="java.lang.String"/&gt;
      &lt;field name="Locat" class="java.lang.String"/&gt;
  
      &lt;group name="id"&gt;
          &lt;groupExpression&gt;&lt;![CDATA[$F{Id}]]&gt;&lt;/groupExpression&gt;
      &lt;/group&gt;
  
      &lt;background&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/background&gt;
      &lt;title&gt;
          &lt;band height="79" splitType="Stretch"&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="296" y="22" width="348" height="42"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="30" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[ItemMaster Report]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
          &lt;/band&gt;
      &lt;/title&gt;
      &lt;pageHeader&gt;
          &lt;band height="35" splitType="Stretch"/&gt;
      &lt;/pageHeader&gt;
      &lt;columnHeader&gt;
          &lt;band height="61" splitType="Stretch"&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="0" width="100" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Id]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="100" y="0" width="153" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Empno]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="253" y="0" width="206" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Depart]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="459" y="0" width="141" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Empname]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="600" y="0" width="189" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Desig]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="1145" y="0" width="274" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Locat]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height="43" splitType="Stretch"&gt;
              &lt;textField&gt;
                  &lt;reportElement x="0" y="0" width="100" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.Integer"&gt;&lt;![CDATA[$F{Id}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="100" y="0" width="153" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{Empno}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="253" y="0" width="206" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{Depart}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="459" y="0" width="141" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{Empname}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="600" y="0" width="189" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{Desig}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="1145" y="0" width="274" height="20"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="15"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{Locat}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
  &lt;/jasperReport&gt;
  </code></pre>