Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs on Windows 8.1 with font scaling for 4K monitor

I'm using Emacs on a Windows 8.1 computer with a 4K resolution monitor. I scaled up all the Windows fonts to 200%, since otherwise it is difficult to read. In most applications, the scaled fonts look great, but in Emacs they look fuzzy and pixelated. If I set the Windows font scaling to 100% and choose a larger font for Emacs, then the Emacs font looks great, but then it is difficult to read text in other applications. Is there any way to set the Windows font scaling to 200% and also have a font in Emacs that looks good?

like image 792
user3818844 Avatar asked Jul 09 '14 04:07

user3818844


People also ask

How do I fix 4k scaling?

At the Windows Settings panel, click System. Step 3. Click Display and then drag the bar under Change the size of text, apps, and other items: 100% (Recommended) until you get a satisfied result. Dragging the slider to the left will reduce the display scaling percentage, thus making things on your screen look smaller.


1 Answers

Right click on the emacs.exe binary, go to Properties > Compatibility. Then check "Disable display scaling on high DPI settings". This disables the automatic scaling performed by Windows 8.1, like the 100% setting that you attempted, but only for Emacs. You will then have to configure Emacs for larger fonts as before, and everything should look okay.

The disadvantage of this method is that Emacs will not rescale properly like other applications when switching monitors or connecting remotely. Perhaps a future version of Emacs will be resolution-aware, resolving the problem.

like image 195
pdg137 Avatar answered Sep 23 '22 08:09

pdg137