There are two ways to solve the problem: first, set the font to Courier New Operation step: Open Elcipse, click "Windows" on the menu bar--click "Preferences"--click "Genneral"--click "Appearance"--click " Colors and Font "--Expand the" Basic "folder in the right-hand box-double-click" Text Font "-select" Courier new "in the popup window (note:" Courier new "may not be found here, click" Show more Fonts "in the lower left corner of the font selection box) Link to open the Font Control Panel, find "Courier New", right click "Show" to activate the font)--click the button "OK"--click the button "OK" to complete. Second, use mixed fonts instead of Consolas fonts. Operation steps: 1. Download Consolas and Microsoft ya Black Hybrid font 2. After extracting, copy the Yahei.consolas.1.12.ttfw file to the C:\Windows\Fonts directory and complete the installation of the Font 3. Open Elcipse, click on the menu bar " Windows "--click on" Preferences "--click" Genneral "--click" Appearance "--click" Colors and Font "--Expand the" Basic "folder in the right box--double-click" Text Font "-- In the pop-up window select "Yahei.consolas"--click the button "OK"--click the button "OK" to complete.
Java Eclipse solves Chinese fonts too small