public abstract Font getFont (AttributeSet attr)

Takes a set of attributes and turn it into a font specification. This can be used to turn things like family, style, size, etc into a font that is available on the system the document is currently being used on.

attr    the set of attributes

Returns:  the font