I'm working with java.awt.Font , How can I discover if the font defined is installed on the system?
Specifically, I have
Font font = new Font("FooBar", 0, 14);
I want to discover if "font" is a valid font on the system and default to something more universal if it isn't available.