Eclipse Chinese font size modification, so that Chinese and English fonts are coordinated

 

It seems that many people are worried about the problem of eclipse Chinese font size modification. The default eclipse Chinese font size is very small, and it is not in the same tone as the English font size, because the default eclipse juno Chinese and English fonts are Consolas, and the font size is 10, but everyone will It is found that if there is Chinese in the code, the Chinese font will be much smaller than the English font, as shown below:

The default Chinese and English font effects of eclipse juno - eclipse Chinese font size modification

Obviously, the default eclipse juno Chinese and English fonts are much larger than the Chinese fonts, and the Chinese appear to be blurred - eclipse Chinese font size modification

If you increase the font size so that the Chinese font looks normal, then the English font is too large and looks very incongruous. There are also some solutions on the Internet, but I think it is obviously too complicated. In fact, there is a very simple way, which can be done in one step. The steps are as follows: Window -> Preferences -> General -> Appearance -> Colors and Fonts, select "Basic" -> "Text Font" in "Colors and Fonts", then click "Edit",

1. At this time, you only need to edit the value in "Size" to "Small Five". When you fill in "Xiao Wu", you will see that the drop-down box in the "Size" column has become the font size of the Song Dynasty. Of course, you can also choose "No. Four" and other larger fonts. As shown below:

Set the font size of eclipse to "Xiaowu" to increase the Chinese font size

Set the font size of eclipse to "Xiaowu" to increase the Chinese font size

Then click "OK", then click "Apply", "OK", you can see that the Chinese font of eclipse has become larger, and the English font and size remain the same (because the English font size of Xiaowu in Song Dynasty is exactly the same as 10 in English. equal). You can adjust the size of Chinese and English at the same time by setting the size to a larger value of the Song font size. This setting method can make the Chinese and English fonts harmonious and beautiful.

2. Or the steps are as follows: Window -> Preferences -> General -> Appearance -> Colors and Fonts, select "Basic" -> "Text Font" in "Colors and Fonts", then click "Edit", put the script in the lower right corner Change to Central European characters.

The effect after adjustment is as follows:

After the font size of eclipse is changed to small five, the Chinese and English fonts are obviously more coordinated

After the font size of eclipse is changed to small five, the Chinese and English fonts are obviously more coordinated

I believe this method should be more direct and simpler than other methods of modifying eclipse Chinese fonts on the Internet.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326359896&siteId=291194637