very small fonts and icons on 4k screens

狂风中的少年 提交于 2019-12-19 08:49:37

问题


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.

  1. Right click Eclipse Icon
  2. Select Properties
  3. Compatibility Tab
  4. Under Settings Section check Override High DPI scaling behaviour. Scaling performed by. Select System.
  5. 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 :

  1. Right click Eclipse Desktop Icon
  2. Select Properties
  3. Compatibility Tab
  4. Change high DPI settings
  5. Override High DPI scaling behaviour. Scaling performed by. Select System.
  6. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!