Class FontUtil

java.lang.Object
org.omegat.util.gui.FontUtil

public final class FontUtil extends Object
  • Method Details

    • getDefaultFont

      public static FontUIResource getDefaultFont()
      Get default unscaled font.
      Returns:
      default font.
    • getConfiguredFontName

      public static String getConfiguredFontName()
    • getScaledFont

      public static FontUIResource getScaledFont()
      Get default font scaled.
      Returns:
      default scaled font as FontUIResource.
    • getConfiguredFontSize

      public static int getConfiguredFontSize()
    • createCompositeFont

      public static FontUIResource createCompositeFont(String family, int style, int size)