public static @NotNull FontInfo fontForChar(final char c, @JdkConstants.FontStyle int style, @NotNull Editor editor) {
    return ReadAction.compute(() -> {
      EditorColorsScheme colorsScheme = editor.getColorsScheme();
      return ComplementaryFontsRegistry.getFontAbleToDisplay(c, style, colorsScheme.getFontPreferences(),
                                                             FontInfo.getFontRenderContext(editor.getContentComponent()));
    });
  }
public static @NotNull FontInfo fontForChar(final char c, @JdkConstants.FontStyle int style, @NotNull Editor editor)