public class StrictFontLoader extends Object
A font matches if:
| Constructor and Description | 
|---|
StrictFontLoader()
Creates a strict font loader. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Font | 
getFont(String family,
       int size)
Gets the MicroUI font matching the given parameters and with the plain style. 
 | 
Font | 
getFont(String family,
       int size,
       int style)
Gets the MicroUI font matching the given parameters. 
 | 
protected int | 
getFontHeight(int size)
Gets the expected font height in pixels for the given size. 
 | 
public Font getFont(String family, int size)
family - the font family.size - the font size.public Font getFont(String family, int size, int style)
family - the font family.size - the font size.style - the font style.protected int getFontHeight(int size)
This method may be overridden in order to interpret the size parameter in an other way.
size - the font size.