Font sizes in Lister are too large
Moderators: Hacker, petermad, Stefan2, white
Font sizes in Lister are too large
I am trying to adjust the font size in the lister window in TC9.50. It does not use the size I select but substitutes a size several points larger.
For ANSI view, I want the font Lucida Console, but setting the size behaves strangely:
- Select size 9 in the font dialog => Lister options show "Lucida Console - 12", size in lister view is about 12
- Select size 12 in the font dialog => Lister options show "Lucida Console - 16", size in lister view is about 16
For ANSI view, I want the font Lucida Console, but setting the size behaves strangely:
- Select size 9 in the font dialog => Lister options show "Lucida Console - 12", size in lister view is about 12
- Select size 12 in the font dialog => Lister options show "Lucida Console - 16", size in lister view is about 16
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Font sizes in Lister are too large
This isn't a bug. Font size 9 means 9 virtual points. One point is defined as about 1/72 of an inch. The negative number displayed in the lister options is the font size in screen pixels. The higher the screen resolution, the higher this value. For example, on a 96dpi screen (100% scale in Windows), a font point suze of 9 gives a pixel height of 12 (9x96/72).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Font sizes in Lister are too large
I am having a hard time understanding this as a feature.
- In the font selection dialog I select a point size and there is also a sample preview. Naturally, I would expect that the font size in the lister is the same as shown in the preview.
- The behaviour is inconsistent. When i select 9pts in the font dialog, it is scaled up to 12pts. But when I open the font dialog again, 12pts is selected there, which will be upscaled to 16pts. The font size becomes larger every time I open the font dialog. If the scaling is intended as you describe it, I would expect the point size to be downscaled back to virtual points before it is used in the font dialog (back to the 9pts I originally selected in my example)
- In the font selection dialog I select a point size and there is also a sample preview. Naturally, I would expect that the font size in the lister is the same as shown in the preview.
- The behaviour is inconsistent. When i select 9pts in the font dialog, it is scaled up to 12pts. But when I open the font dialog again, 12pts is selected there, which will be upscaled to 16pts. The font size becomes larger every time I open the font dialog. If the scaling is intended as you describe it, I would expect the point size to be downscaled back to virtual points before it is used in the font dialog (back to the 9pts I originally selected in my example)
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Font sizes in Lister are too large
I cannot reproduce that, sorry. They are 12 pixels high, not 12 points.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Font sizes in Lister are too large
2Nop
I cannot confirm this.The font size becomes larger every time I open the font dialog
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Font sizes in Lister are too large
Can not confirm.Nop wrote: 2020-03-25, 15:33 UTC ...
The font size becomes larger every time I open the font dialog.
...
The configured fonts and sizes stay for me, regardless of how many times I open the dialog.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Font sizes in Lister are too large
As a picture says more than a 1000 words, here's what I see (windows 10, Text size 100%, resolution 2560x1440
Image: https://i.postimg.cc/J4psDFD0/grafik.png
Image: https://i.postimg.cc/J4psDFD0/grafik.png
Re: Font sizes in Lister are too large
A video also says more tahna a 1000 words: https://madsenworld.dk/tcmd/listerfont.mp4 - no problem
Testet with TC 9.51 x64 under Windows 10 Home 1909, system text size 100%
2Nop
Could you try and test it with a clean ini file - maybe your wincmd.ini file is corrupted.
Testet with TC 9.51 x64 under Windows 10 Home 1909, system text size 100%
2Nop
Could you try and test it with a clean ini file - maybe your wincmd.ini file is corrupted.
Last edited by petermad on 2020-03-27, 10:54 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Font sizes in Lister are too large
Maybe it's a problem with multiple screens with different DPI? Or you changed screen resolution without restarting Windows afterwards?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Font sizes in Lister are too large
That is possible, I have two monitors with 2500 and 1900 resolution. The machine starts up on the laptop screen and switches to the monitors during windows startup. There are two visible changes of resolutions during startup. There are no manual screen changes later.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Font sizes in Lister are too large
I see - what scaling factors do the two screens use, e.g. one 100% and one 150%? You can see this in the display settings (right click on the desktop).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Font sizes in Lister are too large
The smaller screen is running at 100% and the larger screen is running at 125% to compensate for the higher resolution.
Windows considers the 100% screen display 1, total commander windows are opened on the 125% screen.
If TC somehow uses the display2 scale for upscaling and the display1 scale for downscaling, this would explain the discrepancy.
Windows considers the 100% screen display 1, total commander windows are opened on the 125% screen.
If TC somehow uses the display2 scale for upscaling and the display1 scale for downscaling, this would explain the discrepancy.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Font sizes in Lister are too large
Thanks for the extra info. Now when exactly does the problem occur? Do I have to run TC on screen 1 (100%) or screen 2 (125%)? Do I have to open Lister on screen 1 or screen 2?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Font sizes in Lister are too large
As I wrote above, TC and Lister are all running on display 2 with 125%, display 1 is acutally the secondary display, it's just there.
It occurs every time I use the font settings dialog.
It occurs every time I use the font settings dialog.