title: How to define font in FPDF?
body: <p>I am trying to make a writable .PDF document for my Drupal-site. I am a newbie at Drupal so I am attaching the code as a part of the body. Now I cannot get it load the fonts. I get the following error: **</p>
  
  <blockquote>
    <p>FPDF error: Could not include font definition file</p>
  </blockquote>
  
  <p>**</p>
  
  <p>I have tried modifying the folder privileges and defining the path in the following way:</p>
  
  <pre><code>define('php', 'module', 'resources/php/fpdf/font/courier.php');
  module_load_include('php', 'module', 'resources/php/fpdf/fpdf');
  </code></pre>
  
  <p>Could someone spare 5 minutes and tell me how to do it. It would mean a lot to me,</p>
  
  <p>Thanks</p>