public static int charWidth(char c, @JdkConstants.FontStyle int fontType, @NotNull Editor editor) {
    return fontForChar(c, fontType, editor).charWidth(c);
  }
public static int charWidth(char c, @JdkConstants.FontStyle int fontType, @NotNull Editor editor)