title: Exporting a JasperReport to PDF, Characters Missing
body: <p>I have a Java application that is generating JasperReports. It will create as many as three JasperPrints from a single report: one prints on the printer, one is serialized and saved to the database, and the third is exported to PDF using Jasper's built-in export capability.</p>
  
  <p>The problem is that when exporting to PDF, characters containing 8 or more bits (i.e. not 7-bit ASCII) are showing up as empty squares, meaning Acrobat Reader is not able to display that character. The print version is correct, and loading the database version and printing it shows up correctly. If I change the PDF exported version to a different format, e.g. XML, the character shows up fine in a web browser.</p>
  
  <p>Based on the evidence, I believe the issue is something specific to font handling in PDFs, but I am not sure what.</p>
  
  <p>The font used is Lucida Sans Typewriter, a Unicode monospaced font. The Windows "font" directory is listed in the Java classpath: without this step, PDF exporting fails miserably with zero text at all, so I know it is finding the font.</p>
  
  <p>The specific characters not displayed are accented characters used in Spanish text: <code>á</code>, <code>é</code>, <code>í</code>, <code>ó</code>, and <code>ú</code>. I haven't checked <code>ñ</code> but I am guessing that won't work too.</p>
  
  <p>Any ideas what the problem is, areas of the system to check, or maybe parameters I need to send to the export process?</p>