Class DefaultGnomeFontPolicy

  • All Implemented Interfaces:
    FontPolicy

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

      Fields 
      Modifier and Type Field Description
      private static double fontScale
      Font scale.
    • Field Detail

      • fontScale

        private static double fontScale
        Font scale.
    • Constructor Detail

      • DefaultGnomeFontPolicy

        public DefaultGnomeFontPolicy()
    • Method Detail

      • 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()