public static Font getEditorFont(int size) {
    return ReadAction.compute(() -> {
      EditorColorsScheme scheme = EditorColorsManager.getInstance().getGlobalScheme();
      Font font = scheme.getFont(EditorFontType.PLAIN).deriveFont((float)size);
      return UIUtil.getFontWithFallback(font);
    });
  }
public static Font getEditorFont(int size)