Eclipse3.7.2 the default font is consolas, while eclipse3.5 is Courier New by default. For those who are used to couriernew, consolas looks a little uncomfortable, but when eclipse3.7.2 modifies the font, the courier new font is not found. You can change it to Courier New by using the following methods ):
1. Find jface and open it with WinRAR:
Jface specific location: $ eclipse directory $/plugins/org. Eclipse. jface_3.7.0.v20110928-1505.jar, find, open with WinRAR.
2. Find and modify the font attributes:
Open and expand:/org/Eclipse/jface/resources, here you will see the font settings of different operating systems, such as jfacefonts_hp_ux, properties saves the font settings of the HP-UX system, jfacefonts_macosx.properties saves macx font settings. Find the font settings of Windows 7, double-click it, open it with a text compiler, and find Org. eclipse. jface. set the configuration item of textfont.0 to couriernew-Regular. You can also set the font size later. After the modification is complete, save and WinRAR will automatically update the jar package.
3. Start eclipse. If you have not modified the font, you will see that the font has been changed. But if you have modified the font, reset the font and change it.
4. If the change is invalid, close eclipse, open the command control prompt, enter eclipse-clean in the eclipse installation directory, and check whether the change is changed to Courier New after startup;