Class DefaultGnomeFontPolicy

java.lang.Object
org.pushingpixels.radiance.common.internal.font.DefaultGnomeFontPolicy
All Implemented Interfaces:
FontPolicy

public class DefaultGnomeFontPolicy extends Object implements FontPolicy
The default font policy for Gnome OS.
  • Field Details

    • fontScale

      private static double fontScale
      Font scale.
  • Constructor Details

    • DefaultGnomeFontPolicy

      public DefaultGnomeFontPolicy()
  • Method Details

    • getFontSet

      public FontSet 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 interface FontPolicy
      Returns:
      a set of fonts used as default for the component.
    • getPointsToPixelsRatio

      public static double getPointsToPixelsRatio()