Eclipse3.7.2 change the font to Courier New

Source: Internet
Author: User

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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.