Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

very small fonts and icons on 4k screens

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.

like image 486
Vlad Avatar asked Jan 27 '18 05:01

Vlad


People also ask

Why is everything so small on my 4k monitor?

Alternatively you can right click on the desktop, select 'Screen resolution' and then click 'Make text or other items larger or smaller'. The basic options include the ability to scale everything to 125% of the original size ('Medium'), 150% ('Larger'), 200% ('Extra Large') or 250% ('Extra Extra Large').

Why are the letters on my screen so small?

To change your display in Windows, select Start > Settings > Accessibility > Text size. To make only the text on your screen larger, adjust the slider next to Text size. To make everything larger, including images and apps, select Display , and then choose an option from the drop-down menu next to Scale.

Does 4k monitor text look smaller?

That text will be the same physical size as on a 4K 27" monitor set to 100%. Without scaling, most people would find text too small on both 27" at 32". You would need a display as big as 40" to get the same density as 1440p on 27" (~110 DPI). For most people, 27" requires 150% scaling and 32" requires 125%.


3 Answers

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.)

like image 123
howlger Avatar answered Sep 21 '22 13:09

howlger


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

The steps also helps for Coldfusion installer that appears too tiny to be readable or other Application installer in a 4k screen that shows everything too small.

like image 40
Vlad Avatar answered Sep 20 '22 13:09

Vlad


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

like image 32
mavisto Avatar answered Sep 22 '22 13:09

mavisto