Dialog box scaling in font settings

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Dialog box scaling in font settings

Post by *Lefteous »

DPI can now be set in order to scale the dialogs. Some comments.

1) The presets in the dropdown should be multiples of 96 e.g. 120, 144, 168, 192 and so on
2) A more comprehensible way would be to display the scaling in multiples or percent e.g. 125%, 150%, 175%, 200%
3) As you pointed out in another thread you recommend 8,9px fonts size and when needed scaling using the DPI option. If possible it would be a good idea to restrict the font size selection to 8,9px consequently.
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

Re: Dialog box scaling in font settings

Post by *sheppaul »

Lefteous wrote:DPI can now be set in order to scale the dialogs. Some comments.

3) As you pointed out in another thread you recommend 8,9px fonts size and when needed scaling using the DPI option. If possible it would be a good idea to restrict the font size selection to 8,9px consequently.
Well, that's not a good idea. If you should restrict the font size, it would be better to automatically resize dialog box according to font size over 10. This is how potplayer deals with a dialog box.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2sheppaul
Well, that's not a good idea. If you should restrict the font size, it would be better to automatically resize dialog box according to font size over 10. This is how potplayer deals with a dialog box.
The more I think about it I guess it would be better to remove the font size setting completely from the UI. It's really pointless.
It's of course also possible to map the font size set by the user and scale the whole dialog appropriately. In this case the scale option could be removed. So when the default font size is 9 and the user sets it to 13 the resulting DPI would be 139. I guess this is what you would prefer.

I think both solutions are fine.

Technically it would be the CF_LIMITSIZE flag. More details:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646958(v=vs.85).aspx#_win32_Font_Dialog_Initialization_Flags
Post Reply