title: Use custom fonts when creating pdf using iReport
body: <blockquote>
    <p>iReport Version : 3.7.1</p>
  </blockquote>
  
  <p>I approached this problem in two ways.</p>
  
  <blockquote>
    <p><strong>My first method</strong></p>
  </blockquote>
  
  <p>I am creating a <code>pdf</code> page in <code>iReport</code> and I have one of the fields (from database) set to a font <strong>Gujarati-Salarl</strong> (A font for a regional language of India).</p>
  
  <p>This font is available in the font list of <code>iReport</code>. 
  When I hit preview I get the desired output , with the field in the required font style.</p>
  
  <p>Everything till here is fine.</p>
  
  <p>But the <code>pdf</code> file generated still contains the same original font in English characters.</p>
  
  <p>The result is same whether i call the report from the application or from a <code>JAVA</code> file.</p>
  
  <blockquote>
    <p>After a bit of study I found this , <strong>a second method</strong></p>
  </blockquote>
  
  <pre><code>JRProperties.setProperty("net.sf.jasperreports.default.pdf.font.name", "C:\\Gujrati-Saral-1.ttf");
  </code></pre>
  
  <p>This sets the font of the <code>pdf</code> to the <code>ttf</code> font provided but now the entire <code>pdf</code> comes in the Guarati-saral font which is not what I am looking for..</p>
  
  <p>Is there a way to specifically apply this font only to that one particular field?</p>
  
  <p>or </p>
  
  <p>when going by the second method is there a way to not applying the font <strong>Guarati-saral</strong> to all other fields except the required one ?</p>