Eclipse Indigo 字体修改为以前的Courier New

在Eclipse Indigo版本中,默认字体是Consolas,很是不习惯。  
打开preference-->Colors and Fonts发现没有Courier New这个字体。打开c:/windows/fonts发现该字体存在系统中。 

修改方法: 
1. 打开eclipse目录/plugins/org.eclipse.jface_3.7.0.I20110522-1430.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 
再次打开preference-->Colors and Fonts.点击Restore Defaults就OK了 


参考:http://wmljava.iteye.com/blog/1158575

猜你喜欢

转载自weistar.iteye.com/blog/1746989