Hardcoded font for tooltips
Moderators: Hacker, petermad, Stefan2, white
Hardcoded font for tooltips
I prefer to change the default TC font to Arial or Tahoma with equal or slightly increased size. The tooltips for the icon bar use the Dialog box font, selected in Options, but tips for two buttons just above "Attr" column seems use the hardcoded font MS Sans Serif 8:
[*] - Directory hotlist
[v] - History
It's a minor bug, but could it be possible to make these tips similar to others?
[*] - Directory hotlist
[v] - History
It's a minor bug, but could it be possible to make these tips similar to others?
Confirmed!
Same thing with the tooltips for drive buttons - seems to use hardcoded font too.
Same thing with the tooltips for drive buttons - seems to use hardcoded font too.
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
Crappy font
2Slavic
Hello !
• Confirmed here too, we have still the hellish internal MS Sans Serif there for the drives buttons.
- I checked by adding “ ” (#147 - #148) in an info-text, it's not displayed, just black bars…
KR
Claude
Clo

• Confirmed here too, we have still the hellish internal MS Sans Serif there for the drives buttons.
- I checked by adding “ ” (#147 - #148) in an info-text, it's not displayed, just black bars…


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- ghisler(Author)
- Site Admin
- Posts: 50471
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I have to use a hard-coded Microsoft Sans serif here to make sure that Unicode characters show up correctly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
no_no_no!
2ghisler(Author)
Good evening,
• I confirm again, you do NOT use the Microsoft Sans Serif for the info-texts of the drive-buttons !
- Like I said above, just try to write the quoted characters in a drive-hint, they are missing !
Here is MS Sans Serif still, and its 29 missing upper ANSI characters !
VG
Claude
Clo

• I confirm again, you do NOT use the Microsoft Sans Serif for the info-texts of the drive-buttons !
- Like I said above, just try to write the quoted characters in a drive-hint, they are missing !
Here is MS Sans Serif still, and its 29 missing upper ANSI characters !

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- ghisler(Author)
- Site Admin
- Posts: 50471
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed I was talking about the tips for files. The folder tips use a similar font so the tips look similar.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Tooltip fonts
I carried out some tests to check the current tooltip fonts in different places. Here are the results (WinXP SP2):
Button bar
Dialog box font, user-selected size
Drive buttons and buttons [*], [v]
Main window font, 8pt (size is hardcoded)
Filename in the file list, if it's long and truncated (this option only)
File list font, user-selected size
File name in the file list, if it's long + Win32-style tips (these two only)
Dialog box font, user-selected size
File name in the file list + Win32-style tips + Comments from Explorer
Dialog box font, user-selected size
Conclusion: indeed, I haven't found the hardcoded font faces, but there are places with hardcoded font size. All three user-selected fonts are used for tooltips in different circumstances; but the right font face for interface (and also for tooltip) can always be selected. In particular, I tested Arial Unicode MS in all 3 options. Hence, the lack of characters in some tooltips, reported above in this thread, ought to be caused by someone else but wrong font face.
Button bar
Dialog box font, user-selected size
Drive buttons and buttons [*], [v]
Main window font, 8pt (size is hardcoded)
Filename in the file list, if it's long and truncated (this option only)
File list font, user-selected size
File name in the file list, if it's long + Win32-style tips (these two only)
Dialog box font, user-selected size
File name in the file list + Win32-style tips + Comments from Explorer
Dialog box font, user-selected size
Conclusion: indeed, I haven't found the hardcoded font faces, but there are places with hardcoded font size. All three user-selected fonts are used for tooltips in different circumstances; but the right font face for interface (and also for tooltip) can always be selected. In particular, I tested Arial Unicode MS in all 3 options. Hence, the lack of characters in some tooltips, reported above in this thread, ought to be caused by someone else but wrong font face.
Both hard-coded !
2Slavic
Hello !
- For the main window, I set Zurich CN BT, 8, bold - a complete narrow font, all characters are present - while for the hints of the items you quote, it's always the hard-coded one which is displayed !
- You can see that on THIS IMAGE, where the hint for the drive (K) is obviously MS Sans Serif (I'd to use «…» because the “…” are missing). The interface font (i.e. the total and free spaces) has alright the font I chose for it.
KR
Claude
Clo

• Sorry, this is wrong. Here I get always the hard-coded font size AND font face which is still MS Sans Serif, the font stated everywhere in the scripts of the programme !Drive buttons and buttons [*], [v]
Main window font, 8pt (size is hardcoded)
- For the main window, I set Zurich CN BT, 8, bold - a complete narrow font, all characters are present - while for the hints of the items you quote, it's always the hard-coded one which is displayed !
- You can see that on THIS IMAGE, where the hint for the drive (K) is obviously MS Sans Serif (I'd to use «…» because the “…” are missing). The interface font (i.e. the total and free spaces) has alright the font I chose for it.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Hello, Clo!
I have thoroughly tested these tips (drive and 2 buttons) again. The results are the same as before, at least, on my PC. I suppose that in some cases fonts could be substituted by the OS, but I always see the font I set, with size about 8 pt. Here are some pictures (really I checked a lot of fonts):
Image: http://www.fileden.com/files/2006/6/7/54504/test/tooltips.png
Important note: contrary to the common behaviour of fonts in TC, changing the Main window font in configuration settings doesn't immediately change this tooltip font. You have to close TC and start it again, before this the font remains the same. I suppose, this font is read from TC configuration only once at programme start (old piece of code?
).

I have thoroughly tested these tips (drive and 2 buttons) again. The results are the same as before, at least, on my PC. I suppose that in some cases fonts could be substituted by the OS, but I always see the font I set, with size about 8 pt. Here are some pictures (really I checked a lot of fonts):
Image: http://www.fileden.com/files/2006/6/7/54504/test/tooltips.png
Important note: contrary to the common behaviour of fonts in TC, changing the Main window font in configuration settings doesn't immediately change this tooltip font. You have to close TC and start it again, before this the font remains the same. I suppose, this font is read from TC configuration only once at programme start (old piece of code?

Tss---
2Slavic
Hello !
• Tss, tss… Just make the test I indicated and you'll see that the interface font is NEVER used there !
I've these fonts set for a while, I'd to restart TC one thousand times since I do,
and there is always MS Sans Serif for the drive hints,
the History and the Favourite folders buttons hints.
Nothing to do with the OS or whatever, this is hardcoded, font size and font face.
KR
Claude
Clo

• Tss, tss… Just make the test I indicated and you'll see that the interface font is NEVER used there !
I've these fonts set for a while, I'd to restart TC one thousand times since I do,
and there is always MS Sans Serif for the drive hints,
the History and the Favourite folders buttons hints.
Nothing to do with the OS or whatever, this is hardcoded, font size and font face.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials

Here, same as Clo ! The font displayed for the hints we are talking of is ALWAYS MS Sans Serif, no matter the font I set for the Interface !
So, that you show is impossible without some tweaking programme in addition.
- In French, these strings are in the LNG file, one can add in example #147...#148 characters into to test. They are NOT displayed, it's really MS Sans Serif always.
Ouistiti, #11943
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.
1,77245385090552... •
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.
1,77245385090552... •
Some tweaking... It may be so, but it wasn't intentional, I was able to change some default font/locale settings in OS. I use the Intl. English WinXP with Russian locales. Well, I will try to test this with default installation of TC on the machine with default Windows settings, but it could require some time...Vansumsen wrote:So, that you show is impossible without some tweaking programme in addition.
However, these tips should be fixed in any case, no matter whether user can select a font face or not.
Font for drivebuttons still seems to use MS Sans Serif in TC7pb3...
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: 50471
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It will not be changed, sorry. It would be too complex.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com