[TC10.50b8 64bit] Different tooltip fonts
Moderators: Hacker, petermad, Stefan2, white
[TC10.50b8 64bit] Different tooltip fonts
On Chinese version of Windows 10 (or other Windows 10 versions where the language for non-Unicode programs is set to Chinese),
TC 10.50 64-bit shows tooltips in a fixed-with font: https://ibb.co/GtYKVnG
But TC 10.50 32-bit uses a variable-with font: https://ibb.co/KFSMcpH
Previously TC 10.00 64-bit behaved like TC 10.50 32-bit.
TC 10.50 64-bit shows tooltips in a fixed-with font: https://ibb.co/GtYKVnG
But TC 10.50 32-bit uses a variable-with font: https://ibb.co/KFSMcpH
Previously TC 10.00 64-bit behaved like TC 10.50 32-bit.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC10.50b8 64bit] Different tooltip fonts
By default, TC uses the font "Tahoma" unless you have defined a font for the main window.
Maybe the font is missing and you get a substituted font?
Maybe the font is missing and you get a substituted font?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC10.50b8 64bit] Different tooltip fonts
The font I defined for the main window is Segoe UI bold, size 9, which is a native font in Windows 10 and is used for both 32- and 64-bit versions of TC 10.00 and 10.50 and only TC 10.50 64-bit has this issue.ghisler(Author) wrote: 2022-06-03, 16:13 UTC By default, TC uses the font "Tahoma" unless you have defined a font for the main window.
Maybe the font is missing and you get a substituted font?
Incidentally I find that not all tooltips in TC 10.50 64-bit are drawn in the wrong font, only tooltips for the button bars and drive bar are affected, the other tooltips (file list, tabs, synchronize, compare tool, rename tool, etc) still use the correct font.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC10.50b8 64bit] Different tooltip fonts
I have tried to reproduce it in the debugger, but the tooltips for the tabs and button bar are created and shown the same way.
Btw, I was wrong, the font used is the one you set for dialog boxes, not the one you set for the main window.
Could you post your resolution-specific font settings from wincmd.ini for your current resolution, please?
For example, if your screen resolution is full HD with 96dpi, it would look like this:
[1920x1080 (8x16)]
Thanks!
Btw, I was wrong, the font used is the one you set for dialog boxes, not the one you set for the main window.
Could you post your resolution-specific font settings from wincmd.ini for your current resolution, please?
For example, if your screen resolution is full HD with 96dpi, it would look like this:
[1920x1080 (8x16)]
Thanks!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC10.50b8 64bit] Different tooltip fonts
My screen resolution is 1920x1080 with 120dpi (125% scale), the font settings for this resolution are:ghisler(Author) wrote: 2022-06-05, 06:44 UTC I have tried to reproduce it in the debugger, but the tooltips for the tabs and button bar are created and shown the same way.
Btw, I was wrong, the font used is the one you set for dialog boxes, not the one you set for the main window.
Could you post your resolution-specific font settings from wincmd.ini for your current resolution, please?
For example, if your screen resolution is full HD with 96dpi, it would look like this:
[1920x1080 (8x16)]
Thanks!
Code: Select all
[1920x1080 (10x20)]
FontSize=9
FontName=Segoe UI
FontSizeWindow=9
FontNameWindow=Segoe UI
FontWeight=400
FontWeightWindow=700
FontNameDialog=微软雅黑 (Chinese name for Microsoft YaHei)
FontSizeDialog=9
FontCharsetDialog=134
FontCharset=0
FontCharsetWindow=1
Code: Select all
[AllResolutions]
FontSize=9
FontName=Segoe UI
FontSizeWindow=9
FontNameWindow=Segoe UI
FontWeight=400
FontWeightWindow=700
FontNameDialog=微软雅黑 (Chinese name for Microsoft YaHei)
FontSizeDialog=9
FontCharsetDialog=134
FontCharset=0
FontCharsetWindow=1
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC10.50b8 64bit] Different tooltip fonts
The font name in Chinese may be the problem. Can you try changing this to Arial just for testing, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC10.50b8 64bit] Different tooltip fonts
Yes, the font name in Chinese is the culprit.ghisler(Author) wrote: 2022-06-06, 06:58 UTC The font name in Chinese may be the problem. Can you try changing this to Arial just for testing, please?
When I change the font name from Chinese to its English equivalent (微软雅黑 -> Microsoft YaHei), the tooltips are shown in the correct font.
Before:
https://ibb.co/tPsP4Rs
Code: Select all
[AllResolutions]
FontNameDialog=微软雅黑
FontSizeDialog=9
FontCharsetDialog=134
Code: Select all
[1920x1080 (10x20)]
FontNameDialog=微软雅黑
FontSizeDialog=9
FontCharsetDialog=134
https://ibb.co/fQDg0mb
Code: Select all
[AllResolutions]
FontNameDialog=Microsoft YaHei
FontSizeDialog=9
FontCharsetDialog=134
Code: Select all
[1920x1080 (10x20)]
FontNameDialog=Microsoft YaHei
FontSizeDialog=9
FontCharsetDialog=134
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC10.50b8 64bit] Different tooltip fonts
Great, that will help me find the reason of the problem, thanks for your help.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC10.50b8 64bit] Different tooltip fonts
Solved. Thanks a lot. 
