These base fonts can then be used to derive new Font objects with varying sizes, styles, transforms and font features via the deriveFont methods in this class.
[...]
public
Font deriveFont(int style)
Creates a new Font object by replicating the current Font object and applying a new style to it.
Parameters:
style - the style for the new Font
Returns:
a new Font object.
Since:
1.2
[...]
public
Font deriveFont(float size)
Creates a new Font object by replicating the current Font object and applying a new size to it.
Parameters:
size - the size for the new Font.
Returns:
a new Font object.
Since:
1.2