title: How do I check if font exists
body: <p>I'm working with java.awt.Font , How can I discover if the font defined is installed on the system?</p>
  
  <p>Specifically, I have</p>
  
  <pre><code>Font font = new Font("FooBar", 0, 14);
  </code></pre>
  
  <p>I want to discover if "font" is a valid font on the system and default to something more universal if it isn't available.</p>