如何在IntelliJ中删除字体?

盲盒

我正在尝试用IntelliJ中的旧版本替换Inconsolata字体(新版本添加了我不满意的内容)

IntelliJ似乎拒绝删除我希望删除的字体。

有问题的字体是Inconsolata,下面的图片显示我试图删除它。它在此阶段有效。

在此处输入图片说明

但是,这样做之后,重新启动PC,IntelliJ坚持认为该字体存在。

在此处输入图片说明

It will give a strange name to the font, but the entry exists. This causes problem on my end - there's some reference caching the IntelliJ is doing, and if I were to replace the font with the older version, it'll still be using the newer cache, but will give a strange output if the cache is pointing to something that doesn't exists.

I've tried

  • Deleting the settings folder
  • Reinstalling IntelliJ and then restarting

Is there a way to delete a font in IntelliJ properly?

blindbox

It looks like Windows doesn't properly delete a font. Unfortunately, this causes problems for some apps.

The fix

  1. Head towards C:\Windows\Fonts from your terminal. Do not use a file browser, as that will open up the control panel item.
  2. 使用终端删除inconsolata的所有痕迹(有Inconsolata-Bold.ttf,Inconsolata-Regular.ttf,inconsolata.otf)

现在,您的IDE将不再具有Inconsolata字体。

在此处输入图片说明

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章