com.inet.html
Interface InetHtmlFontFactory


public interface InetHtmlFontFactory

Factory to resolve font requests. May be overwritten to implement a font mapping.


Method Summary
 java.awt.Font getFont(java.lang.String name, int style, int size)
          Returns the font object for a requested font.
 

Method Detail

getFont

java.awt.Font getFont(java.lang.String name,
                      int style,
                      int size)
Returns the font object for a requested font. Please note that the returned font may differ in type, size or style depending on the properties of the targeted render context.

Parameters:
name - The name / family of the requested font
style - the style constant(s)
size - the size in pixel
Returns:
the best match for the requested font