Class DefaultGnomeFontPolicy
java.lang.Object
org.pushingpixels.radiance.common.internal.font.DefaultGnomeFontPolicy
- All Implemented Interfaces:
FontPolicy
The default font policy for Gnome OS.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLooks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components.static double
-
Field Details
-
fontScale
private static double fontScaleFont scale.
-
-
Constructor Details
-
DefaultGnomeFontPolicy
public DefaultGnomeFontPolicy()
-
-
Method Details
-
getFontSet
Description copied from interface:FontPolicy
Looks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components.This method is invoked during the L&F component initialization.
- Specified by:
getFontSet
in interfaceFontPolicy
- Returns:
- a set of fonts used as default for the component.
-
getPointsToPixelsRatio
public static double getPointsToPixelsRatio()
-