title: verdana font on linux
body: <p>I'm trying to use the <code>verdana.ttf</code> font to create a RTF report with Java, but it isn't working on Linux.</p>
  
  <p>Does anybody know how I do this? </p>
  
  <pre><code>     String contextPath = FacesUtil.getServletContext().getRealPath("\\");
       try {
            FontFactory.register(contextPath + "WEB-INF\\Fonts\\verdana.ttf");
       } catch (Exception e) {
            e.printStackTrace();
       }
  
       if (negrito) {
            font = FontFactory.getFont("Verdana", 8, Font.BOLD, new Color(0, 0, 0));
       }
       cell = new Cell(new Paragraph(paragraph, font));
              cell.setBackgroundColor(new Color(255, 255, 255));
              cell.setBorderColor(new Color(255, 255, 255));
              if (center)
                  cell.setHorizontalAlignment(Cell.ALIGN_LEFT);
  
              cell.setRowspan(1);
              cell.setColspan(1);
              return cell;
  </code></pre>