private Font getFontForText(String text, EditorFontType style) {
    var font = ExperimentalUI.isNewUI() ? JBFont.regular() : myEditor.getColorsScheme().getFont(style);
    return UIUtil.getFontWithFallbackIfNeeded(font, text);
  }
private Font getFontForText(String text, EditorFontType style)