jj1314

今天下载了eclipse的luna版本(当然其他版本的貌似也这样),使用了一下,发现注释时的中文字体太小,看起来不方便。为什么这样呢?

在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

 

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

转自:http://blog.csdn.net/tgxblue/article/details/8465006

分类:

技术点:

相关文章: