title: Why aren't my fonts getting registered?
body: <p>I have a program using iTextSharp that includes the code</p>
  
  <pre><code>FontFactory.RegisterDirectories();
  
  foreach (string fontname in FontFactory.RegisteredFonts)
  {
     Log.Info("**** Found registered font: " + fontname);
  }
  </code></pre>
  
  <p>When I run it (using Mono on a CentOS box), the log shows only the core PostScript fonts:</p>
  
  <ul>
  <li>zapfdingbats</li>
  <li>times-roman</li>
  <li>times-italic</li>
  <li>helvetica-boldoblique</li>
  <li>courier-boldoblique</li>
  <li>helvetica-bold</li>
  <li>helvetica</li>
  <li>courier-oblique</li>
  <li>helvetica-oblique</li>
  <li>courier-bold</li>
  <li>times-bolditalic</li>
  <li>courier</li>
  <li>times-bold</li>
  <li>symbol</li>
  </ul>
  
  <p>But I have 156 TTF files under my <code>/usr/share/fonts</code> directory tree (which is one of the directories mentioned in the code for the <code>RegisterDirectories</code> function).  Why aren't these being registered?</p>