code: @Override
      protected Font getFontForState(SynthContext ctx) {
          Font f = (Font) get(ctx, "font");
  
          if (f == null)
              f = UIManager.getFont("defaultFont");
  
          // Account for scale
          // The key "JComponent.sizeVariant" is used to match Apple's LAF
          String scaleKey = SeaGlassStyle.getSizeVariant(ctx.getComponent());
          if (scaleKey != null) {
              if (LARGE_KEY.equals(scaleKey)) {
                  f = f.deriveFont(Math.round(f.getSize2D() * LARGE_SCALE));
              } else if (SMALL_KEY.equals(scaleKey)) {
                  f = f.deriveFont(Math.round(f.getSize2D() * SMALL_SCALE));
              } else if (MINI_KEY.equals(scaleKey)) {
                  f = f.deriveFont(Math.round(f.getSize2D() * MINI_SCALE));
              }
          }
  
          return f;
  
      }
docs: {@inheritDoc}