 |
 | Display on 4k resolution is either blurry or very small |  |
Joined: 14 Apr 2007 |
Posts: 96 |
|
|
 |
Posted: Mon Jun 12, 2017 10:31 am |
|
 |
 |
 |
 |
Hello,
Just wondering what settings others have tried to get PhpED to display correctly on a 4K monitor. I have the resolution set to 3840, which is native. If I check the box for "disable scaling on high DPI settings", all the text in the editor is micro-sized (very, very small). If I uncheck the box, everything in the editor is a normal size, but it is blurry. I have also tried using a resolution of 1920, but I get the same issue.
Is there some combination of settings that is optimal? Has this issue been addressed by a later build of PhpEd?
I'm on Windows 10, build 1819 of PhpEd.
**update**
After further research, I think what I am asking about is called HiDPI support. Has this been implemented in PHPEd?
Thanks!
|
|
 |
 | |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
Veteran
Joined: 06 Mar 2007 |
Posts: 158 |
Location: Poland |
|
 |
Posted: Tue Jan 18, 2022 3:47 am |
|
 |
 |
 |
 |
@dmitri - thank you for the reply.
Quote: | What's the DPI or font scale factor you set? |
I use the DPI at 140%. However, please note that for the PhpED I have disabled DPI scaling (seems that's why it's the issue).
Of course I can not chnage PhpED to repsect DPI scaling due to the epic blur on the whole UI - which is simply an eyeskiller and... no words.
However, the above screenshot is made after some custom modyfications to the substitutes (with a little bit font re-edited in the font forge), and due to disabled DPI scaling for the PhpED the custom changes in the system do not much and are still not enough (tiny fonts epic issue).
The disproportion between the text size of the menu and all the large list headers and tiny explorer items - it all is making eyes very tired very quickly.
As long as menu font size respects the size of the "Menu" item from the windows metrics, then all the text in the Tabs has the system default size only (it is size=8 iirc?). Also it is shame that the font family is not taken from "Menu" metrics as well (but this one noticing just by the way).
Quote: | did you do this for PhpED |
So that is the exact issue that I can not change anything to the PhpED. These are only system wide changes. So what my request was is just to have "Interface font size" which will respect the custom value once for all the fonts in the PhpED (Menu, all the texts in the tabs, headers, log output etc. etc.). It could be called "Font UI scaling" or whatever to gain the "modern" name.
|
_________________ ML
|
 |
 | |  |
 |
 | |  |
Veteran
Joined: 06 Mar 2007 |
Posts: 158 |
Location: Poland |
|
 |
Posted: Thu Jan 20, 2022 5:17 am |
|
 |
 |
 |
 |
@dmitri - thank you for the reply. Please note that as long as it all works well at 100% for you, then simply if you set DPI to 140% it will not show you the issue obviously - you'll see just everything bigger and possibly... bluryyyryyyy, and so on. Try to use PhpED on 1920x1080 at 13 inch. Impossible to read it. Menu modyfication is ok, but all the Tabs has way too tiny fonts, not readable, unfortunately, but big headers. I don't want to allow the PhpED to be scaled by the OS, because it's one huge blur devil, impossible to work with at all.
It is not as deep customization as it looks like. It is only the two following customizations which affects the PhpED:
- MS Shell Dlg 2 => PT Serif Caption
- the fonts for Windows Metrics => PT Serif Caption at size 10
Nothing more at this point is customized.
I think the issue here is that the MS Shell Dlg 2 substitue uses size 8, whatever font is set, but this size even can not be changed in the OS. So it is that the PhpED is using size 8 for all the Tabs, and the menu takes the size from the "Menu" item in the Windows Metrics - that's why I can get the size difference between the Tabs and the Menu (which is not exactly the issue), and that's why my request is just to have possibility to change the font size for all the Tabs/UI (that's the issue) - to make them just bigggerrrr (well, of course except editor, the editor has own rules). It is nothing more and nothing less I'm asking for.
Another example when I set up the "Verdana" font (it's yet worse): http://www.introne.com/phpedverdana.jpg
Quote: | may be system is reporting DPI other than 134? |
Yes, like I said, please keep in mind that DPI is disabled for PhpED, as the above said.
Check the Visual Studio as an example (everything is consistent and well readable): http://www.introne.com/vsexample.jpg
At there you may set up just single font at specified size for the whole UI.
I think that maybe the closer to see the issue is to open my images at zoom about 71%.
|
_________________ ML
|
 |
 | |  |
 |
 | |  |
Veteran
Joined: 06 Mar 2007 |
Posts: 158 |
Location: Poland |
|
 |
Posted: Fri Jan 21, 2022 6:33 am |
|
 |
 |
 |
 |
@dmitri - thank you for the reply.
Quote: | I think it makes sense to set scale ratio close to ratio produced by two small integers |
Could you please explain in what way it could help at all? I don't see the relation here. I did mention I have disabled scaling for the PhpED, othrewise it would be if you take a screenshot of PhpED and upscale it, so whatever you would choose, 125%, 140% or 150%, it will always be bad and blur.
As long as 140% scaling makes the fonts bigger in general (and the 140% is the max value where the system looks enough good, incl. cursor, lol), but somehow only in the PhpED it's still much smaller than expected. For example check the following screen: http://introne.com/msdlgcomp.jpg
The window at the right also uses the "MS Shell Dlg 2" substiute, but as you can see, the size of the font is bigger. Why?
Quote: | Also you can play with Clear Type |
Despite since I member I turn the being called "Celartype" off, yes, I tried it, and it's yet worse (but anyway it has nothing to do with the font size at all).
Quote: | I know they're using some other library and UI engine |
I understand that rewrite to the other engine is more like making the interface from scratch, so that's not the point at all. However there is some magic word: "WM_SETFONT"...
Anyway, simply saying, only the font size for PhpED change is the option, all other suggestions is only walking after the solution more or less bad, but very bad in general, and so on.
|
_________________ ML
|
 |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 2
|
|
|
|  |