[TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Moderators: Hacker, petermad, Stefan2, white
[TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
The lister option 7 "UTF-8" (with "standard" font in settings) looks crazy e.g. WCMD_ROM.LNG that is in UTF-8. The ellipsis … (UTF-8 0xE2 0x80 0xA6) is displayed incorrectly as a rectangle. If you look at this with suitable Lister plug-ins, UTF-8 looks normal.
"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
Press V (Variable char width)?
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
The same applies to the display of the ellipsis … with option 1 "Text" "coding" with codepages 1250 until 1256 and …
"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
Variable char width doesn't fix the problem. It uses a unsuitable font too.
"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
Yes, the font "System" doesn't seem to have that character.norfie² wrote: 2024-10-18, 12:46 UTC Variable char width doesn't fix the problem. It uses a unsuitable font too.
Why is that a bug?
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
The problem is that TCmd pretends to display in UTF-8 or Windows codepages 1250 to 1256, but does not do it (100% correctly).
"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
Let's take the file WCMD_CZ.LNG, which uses codepage 1250. It looks strange with the correct setting, i.e. options 1 "Text", "Ansi" and Encoding 1250. There are a lot of rectangles in it.
"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 I didn't find a perfect Truetype or Opentype replacement font for the SYSTEM font yet.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
What is wrong with Consolas and Segoi UI?
"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
TC supports Win9x and XP also.
There is no Consolas.
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
2cpp64
Because it doesn't work on completely outdated systems, should it also not work on slightly outdated and current systems?
Because it doesn't work on completely outdated systems, should it also not work on slightly outdated and current systems?
"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
Perhaps it wouldn't be a bad idea to include one font with a variable font width and one with a fixed font width.
Noto is designed as a typeface for the world. "All Noto fonts are licensed under the Open Font License."
https://fonts.google.com/noto/fonts?lang=en_Latn
Noto is designed as a typeface for the world. "All Noto fonts are licensed under the Open Font License."
https://fonts.google.com/noto/fonts?lang=en_Latn
"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
I think Notepad++ and Windows Notepad use a font linking mechanism. Perhaps that would also be feasible for TC.
- 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
Windows itself uses font linking, but it doesn't seem to work with bitmap fonts like SYSTEM.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.50ß2] Lister - UTF-8 display uses unsuitable font
Yes, I got confusedghisler(Author) wrote: 2024-10-20, 08:56 UTC Windows itself uses font linking, but it doesn't seem to work with bitmap fonts like SYSTEM.
