Eclipse is an open-source, Java-based, extensible development platform that is one of the most commonly used Ides for learning Java and developing java. Sometimes this is the case, just download the new eclipse, the font display English is no problem, but the display of Chinese is very strange or garbled. Sometimes we install new fonts on our computers, how do we apply the new fonts to our installation in eclipse? Now let's introduce how eclipse sets the font for code in the small series.
First open eclipse, and then on the right side of the menu, select the last preferences in the drop-down menu item.
In the pop-up form, select the first general and then point appearance-Colors and Fonts Select the AA Java Editor Test font and click on the right "edit" to edit it, here is the font style in the Settings editor. , the bottom of which is the one that shows you the font you're using today. You can also choose Reset to reset the default font.
Click on the font will appear a set font settings box to the left is the selection of fonts, the middle is to set the font style (for example: bold, italic, etc.), the left is to define the size of the display font. The following example shows the effect of the font you have set, if you select a Chinese font, only the font of the Chinese effect is displayed, and the English font will be displayed if you choose English. Set the post confirmation, then click OK again.
How Eclipse Sets the font