关于eclipse 中文注释时中文字体太小的问题解决

来源:互联网 发布:linux系统性能报告 编辑:程序博客网 时间:2024/04/29 06:38

今天下载了eclipse的indigo版本,使用了一下,发现注释时的中文字体太小,看起来不方便。为什么这样呢?


在windows 7系统中,font的状态分为“显示”和“隐藏”这两种状态,默认情况下,eclips使用的字体courier new是“隐藏”状态的。因此,eclipse就会使用另外一种字体consolas。

这个可以在eclipse-->Preferences-->General-->Appearance-->Colors and Fonts-->basic中的Test Font可以查看。

解决办法:

1.首先,在windows 7 系统中的Courier new字体改为“显示”状态。


2.在eclipse中将字体改为“courier new”,打开“eclipse-->Preferences-->General-->Appearance-->Colors and Fonts-->basic”的Text Font



然后我们就可以发现,注释的中文字体变得正常了。。。


原创粉丝点击