27.10.24 Added: Lister now uses resizable fonts by default for ANSI, ASCII and Variable: Consolas,11 for the first two (if available, same as Notepad) and Verdana,11 for the third (if available, otherwise Arial,11) (32/64)
[TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
I'm now using Truetype fonts by default in beta 4, which support font substitution. Please let me know what you think! Some people already want the old fonts back, so there will be a checkbox for that in the next beta.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
As a matter of fact, only at this moment there is a problem.Consolas,11 for the first two
ALL three options should offer ALL three different but proportional fonts!
BUT they should be sharpened to show these three different types of encodings.
That is, so that for DOS text with the default font for it - I can see all the characters
in DOS encoding. Even those that come in the first values: 00h-1Fh symbols.
Consolas for these chars show "something 'nothing' = black dots" - I would call it ...
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
No, the first two are non-proportional fonts on purpose, it makes both source code and aligned text easier to read.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
It looks good at first glance. I'll take a closer look at it later.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
Immanuel Kant in "Perpetual Peace"
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
As far as I can tell, the wrong behavior has been fixed. Thanks.
As far as the font for ASCII is concerned, no change was actually necessary due to my bug report.
Although there is no right or wrong for ASCII for the characters 00h to 1Fh and 80h to FFh, because their visual representation is not defined by ASCII, for historical reasons IMHO it would not be wrong to realize a display that corresponds to code page 437.

As far as the font for ASCII is concerned, no change was actually necessary due to my bug report.

Although there is no right or wrong for ASCII for the characters 00h to 1Fh and 80h to FFh, because their visual representation is not defined by ASCII, for historical reasons IMHO it would not be wrong to realize a display that corresponds to code page 437.
Last edited by norfie² on 2024-11-04, 09:02 UTC, edited 2 times in total.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
Immanuel Kant in "Perpetual Peace"
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Unfortunately that's not up to me to decide. If you need this, switch back to the old fonts (option will be in the next beta).characters 00h to 1Fh and 80h to FFh
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Following Uwe Sieber's website, the Lucida Console font would probably be suitable for ASCII.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
Immanuel Kant in "Perpetual Peace"
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Both Lucida Console and Consolas give me just dots for characters 1 to 31 when using the OEM font option.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
2ghisler(Author)
As far as I know, noone TTF/OTF font does substitition with proper Unicode glyphs for character 1-31. Character 0 is empty and it can be displayed either as a dot or as an empty rectangle.
The same note concerns monospaced fonts: In Win9x it's Monotype.com (replaced later with Andale Mono), In Win2000/XP it's Lucida Console. If you want to provide third party fonts with free license, already mentioned DejaVu family is the most universal one (multilingual with many special characters, provides monospaced, sans and serif fonts).
As far as I know, noone TTF/OTF font does substitition with proper Unicode glyphs for character 1-31. Character 0 is empty and it can be displayed either as a dot or as an empty rectangle.
For me this choice is inconsistent with font availability. I think that the default variable font should be either the same one as used by TC GUI or the same one as used by Windows GUI.history.txt wrote: Variable: Consolas,11 for the first two (if available, same as Notepad) and Verdana,11 for the third (if available, otherwise Arial,11)
The same note concerns monospaced fonts: In Win9x it's Monotype.com (replaced later with Andale Mono), In Win2000/XP it's Lucida Console. If you want to provide third party fonts with free license, already mentioned DejaVu family is the most universal one (multilingual with many special characters, provides monospaced, sans and serif fonts).
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
I will not include any fonts, sorry. I'm using Consolas if available, otherwise fall back to the fonts used by older TC versions.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
2ghisler(Author)
Why not just use smarter fallback to fonts provided by Windows?
Why not just use smarter fallback to fonts provided by Windows?
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
I think it's smart enough, you can still choose a different font on older systems.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
The current solution in TC 11.50ß5 works for me. I consider my bug report to be finished. Thanks. 

"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
Immanuel Kant in "Perpetual Peace"
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Moderator message from: ghisler(Author) » 2024-11-06, 17:44 UTC
Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com