码迷,mamicode.com
首页 > 系统相关 > 详细

Eclipse Indigo 更改字体

时间:2014-12-25 12:42:36      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:

在Eclipse Indigo版本中,默认字体是Consolas,很是不习惯。 

打开preference-->Colors and Fonts发现没有Courier New这个字体。打开c:/windows/fonts发现该字体存在系统中。 

修改方法: 
1. 打开eclipse目录 /plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar (jar的版本号可能不一致)
2. 打开 org\eclipse\jface\resource\jfacefonts_windows7.properties --不同系统选择不同的文件 
3. 修改如下两行: 
org.eclipse.jface.textfont.0=Consolas-regular-10 
org.eclipse.jface.textfont.1=Courier New-regular-10 
为 
org.eclipse.jface.textfont.0=Courier New-regular-10 
org.eclipse.jface.textfont.1=Consolas-regular-10 

保存后打开启动eclipse,基本上就 OK 了
如果不行,再次打开preference-->Colors and Fonts.点击Restore Defaults就OK了 

Eclipse Indigo 更改字体

标签:

原文地址:http://www.cnblogs.com/hong88/p/4184272.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!