Guidelines for 4k displays on Windows

As of PhpStorm 2020.1, what'd be the general recommendation for running the software in an UHD display on Windows 10? Editor fonts are acceptable but UI fonts are slightly too small.

The assorted information I've found (like adding "-Dhidpi=true" in idea.exe.vmoptions) is possibly outdated and I don't want to start increasing font sizes carelessly and end up messing it all. I also found a Show HIDPI Info command but I don't understand what it's trying to tell me (also note that the "Description" field is way smaller than the rest, which is particularly funny).

 

0

Well, there are two simple ways to make IDE fonts more visible:

- Increase Display Scale in Windows settings. By the way what percentage do you currently have?

- Increase the font size in "File | Settings | Appearance & Behavior | Appearance", that should affect the "User (IDE) scale". In fact, I have just tried to play around with its size on my UHD display (with Windows scaling set up to 250%) and I see no drawbacks so far.

Sorry for the probably too obvious recommendations. 

1

Thank you very much, nothing's too obvious for everybody. Windows scaling is the first thing I changed (the default 150% was too small for me so I set it to 170% in the advanced input, which in turn populated the dropdown with 350% :-?). I've owned the monitor for only a few days and I'm still struggling to configure software without getting bad interactions among settings, ridiculous differences in widget sizes within the same program or blurry displays.

You need to set a custom font to increase the UI size but the one already selected (Segoe UI) seems to be the default one anyway and increasing from size 12 to 13 makes a huge difference. And that's basically all you need. Everything looks surprisingly great, save for tool pane tabs (Project, Structure, Favorites, Terminal...) and (ironically) the HiDPI Info dialogue that thinks I have a 2262x1272 display.

0

Obviously, monitor size is one of the most important factors for font sizes, with visual impairment, personal preference, and monitor position/distance all being important too.

On my setup (2x 32inch 4K monitors, situated at normal monitor location/distance), I personally find that simply accepting the recommended scaling of 150% (within the display properties) is all that is required to have a very comfortable font size for all applications (including PHPStorm). I have never needed to make make any individual font size adjustments in any application, nor have I had any inconsistencies with icon/widget sizes. For fonts (purely for aesthetic, not size reasons), I was using a mixture of Roboto for the PHPStorm UI and Monaco (which is mono-spaced) for the code editor. I have recently switched to JetBrains Mono within the code editor.

The reason your monitor is reported as 2262x1272 is due to the scaling (2262x1272 is 3840x2160 scaled to 170%).

Other than making sure your display drivers are up to date, I don't have anything to suggest, other than to note that changing monitors (with big changes in resolution) and the associated unfamiliarity, can lead to uncertainty and second guessing whether something's size is 'right'.

0

请先登录再写评论。