[9.0b3] Font bug carried from 8.52- versions

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

[9.0b3] Font bug carried from 8.52- versions

Post by *wanderer »

I guess this is a bug, which also exists in 8.52 and i believe is carried up until today from... who knows what version.

Configuration / Font. In this dialog, you can change TC fonts by pressing the respective "change font" button. When you select a font and press OK, this dialog offers a preview (a text/label with the alphabet). The font and size you have chosen is applied on the preview and you can see what you have selected. Everything is applied except the language / character set you have chosen.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This isn't a bug: The language/character set is irrelevant because TC uses the font with Unicode text functions.

It only matters in Lister and "Compare by content" when showing files in a non-Unicode encoding. Then TC uses the stored encoding.
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Hmmm. I think i get it now. I wrongly assumed that the non-english chars that appear in the preview should change when the language was changed, in order for the user to see some chars of the alphabet in his own language. They are just some fixed characters from a certain language, right?

OK then, no bug here.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Which preview? Ctrl+Q? That uses the Lister font settings, where the encoding matters. File names are Unicode, so the chosen encoding doesn't matter because TC loads the Unicode font with ALL included encodings.
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:Which preview? Ctrl+Q? That uses the Lister font settings, where the encoding matters. File names are Unicode, so the chosen encoding doesn't matter because TC loads the Unicode font with ALL included encodings.
Nope. I mean the "preview" that appears in "Configuration / Font" dialog.

OK, i think now i can make this issue more clear because i just noticed something. In WinXP, the alphabet "preview" that appears in the "Configuration / Font" dialog displays the correct alphabet depending on the language you select. When you change the language, the "latin" part of the alphabet remains the same but the last part that depends on the selected language changes. In Win7 this does not happen. It seems like it always displays the Western alphabet as a preview, regardless of the language you have selected. It seems it depends on the font used for the Preview.

I'll try to sample some images and post them later.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

wanderer wrote:I'll try to sample some images and post them later.
And here they are.

http://imgur.com/a/ssZjv

In XP, it appears that the fonts do change when you change the language and they display the correct characters. In Win7 this does not happen. Everything is displayed using the Western (probably) codepage.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, I see - this sample text is Unicode now too, so the encoding will not change anything.
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

OK, maybe then it would be better to show only English characters since the others will not be shown in the user's language.

Why this change? I just checked: in 32-bit version it appears normally, even under Windows 7. The 64-bit displays everything in unicode. Was it by accident or intentional and if so, could you share the reason?
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

X64 uses native Unicode controls out of the box because there are no ANSI x64 systems.
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:X64 uses native Unicode controls out of the box because there are no ANSI x64 systems.
So this is probably something that is not change-able. :) Ok then, thanks for the info.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Post Reply