langyu

切记:修改之前必须将eclipse关闭!否则修改不了。

打开eclipse文件目录中的plugins,找到org.eclipse.jface_3.9.0.v20130521-1714.jar,使用winrar打开方式打开,定位到org\eclipse\jface\resource目录下,然后打开jfacefonts_windowsvista.properties文件,看清楚,中间是windowsvista,而不是windows7,linux之类的文件,然后找到下面两行代码:
org.eclipse.jface.textfont.0=Consolas-regular-10
org.eclipse.jface.textfont.1=Courier New-regular-10

将=号之后的代码互换位置,保存,之后重新打开Eclipse,字体就成了Courier New的了,一般的Eclipse都可以这样改过来,要是还是没改过来,选择Window-->Preferences-->Gerneral-->Appearance-->Colors and Fonts-->Basic-->Text Font,点击右边的Reset就OK了。

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-09-25
  • 2022-12-23
  • 2022-01-11
猜你喜欢
  • 2021-12-19
  • 2021-12-29
  • 2021-06-19
  • 2021-12-12
  • 2022-01-02
  • 2021-12-13
  • 2021-09-11
相关资源
相似解决方案