问题
I'm using CFeclipse on Windows 10 OS.
With the adaptation of new 4k resolution laptops. Eclipse displays small icons and fonts. Its also reported as a bug in https://bugs.eclipse.org/bugs/show_bug.cgi?id=451693.
回答1:
The mentioned bug has been fixed, Eclipse automatically scales images on high-DPI monitors on Windows since Eclipse Neon (4.6). So, make sure your Eclipse IDE is up to date.
If upgrading does not fix your issue, in eclipse.ini add the following line below the line -vmargs (see Tweaking SWT's auto-scaling):
-Dswt.autoScale=200
(In contrast to the compatibility mode of Windows, this is the way to get the double-resolution icons.)
回答2:
To solve the problem in Windows 10.
- Right click Eclipse Icon
- Select Properties
- Compatibility Tab
- Under Settings Section check Override High DPI scaling behaviour. Scaling performed by. Select System.
- Then Apply or Ok
I haven't encountered it yet in other application but this solution might also work for other apps that displays small icons and fonts.
This solution also works in Ultraedit,FastStone capture
回答3:
I was having problems with a Windows 10 RDP connection using a Surface Pro machine. A recent update made Eclipse virtually unusable.
This solution worked perfectly :
- Right click Eclipse Desktop Icon
- Select Properties
- Compatibility Tab
- Change high DPI settings
- Override High DPI scaling behaviour. Scaling performed by. Select System.
- Then Apply or OK
I then had to slightly adjust the font size within Eclipse itself. I found I could use a slightly smaller font
来源:https://stackoverflow.com/questions/48473037/very-small-fonts-and-icons-on-4k-screens