TC10.50b1x64: Wrong font name shown in font configuration
Moderators: Hacker, petermad, Stefan2, white
TC10.50b1x64: Wrong font name shown in font configuration
In Configuration -> Display -> Font, the font name is shown as garbled text if a Chinese font (Microsoft YaHei, for instance) is selected.
This is a new behaviour not observed in TC10.00 32/64 bit or TC10.50 32 bit.
This is a new behaviour not observed in TC10.00 32/64 bit or TC10.50 32 bit.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1x64: Wrong font name shown in font configuration
Thanks, I will check whether I made any changes to this function - probably when adding support for "extra light" fonts.
You will have to check the fix in beta 2, though, because all my Chinese fonts have English names...
You will have to check the fix in beta 2, though, because all my Chinese fonts have English names...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC10.50b1x64: Wrong font name shown in font configuration
TC10.50b2x64: not fixed yet.
Re: TC10.50b1x64: Wrong font name shown in font configuration
Can you show an example of this "wrong" text?yong wrote: 2022-04-14, 03:18 UTC In Configuration -> Display -> Font, the font name is shown as garbled text if a Chinese font (Microsoft YaHei, for instance) is selected.
This is my ver:
[img]https://i.ibb.co/z2VdDdH/1.png[/img]
looking pretty good, isn't it?
#146217 personal license
Re: TC10.50b1x64: Wrong font name shown in font configuration
2*ghisler(Author)
Can you add in this dialog the field which will hold MY text for rendering in groupbox "Example"/"Образец"
Like you somehow did with hyperlink "Show an additional fonts"/"Показать дополнительные шрифты" below.
This link definitely is not a standard link - in all another programs where I can change the font - this dialog looks differently.
So this means that It can be reconfigured somehow for user's needs.
Can you add in this dialog the field which will hold MY text for rendering in groupbox "Example"/"Образец"
Like you somehow did with hyperlink "Show an additional fonts"/"Показать дополнительные шрифты" below.
This link definitely is not a standard link - in all another programs where I can change the font - this dialog looks differently.
So this means that It can be reconfigured somehow for user's needs.
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1x64: Wrong font name shown in font configuration
2yong
It works for me when using German umlauts (the text is only supporting ANSI, so only local codepage).
2AntonDudarenko
He meant the dialog where you click on the "Change font" button, after confirming the dialog for which you show the screenshot. The problem only happens when the font NAME is not in English (latin letters). Do you have any fonts in the list with a cyrillic name?
It works for me when using German umlauts (the text is only supporting ANSI, so only local codepage).
2AntonDudarenko
He meant the dialog where you click on the "Change font" button, after confirming the dialog for which you show the screenshot. The problem only happens when the font NAME is not in English (latin letters). Do you have any fonts in the list with a cyrillic name?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC10.50b1x64: Wrong font name shown in font configuration
Ok - I did that and for the mentioned Microsoft YaHei I did not get any garbled text on the next dialog:He meant the dialog where you click on the "Change font" button, after confirming the dialog for which you show the screenshot. The problem only happens when the font NAME is not in English (latin letters).
[img]https://i.ibb.co/LNnbPRQ/1.png[/img]
now do we talk about "that" ↑ dialog?
If you ask me about the list from my initial screenshot - then NO. All font names in this dlg are in English.Do you have any fonts in the list with a cyrillic name?
And what about my prev. question:
"Can you add in this dialog the field which will hold MY text for rendering in groupbox "Example"/"Образец"
Like you somehow did with hyperlink "Show an additional fonts"/"Показать дополнительные шрифты" below.
This link definitely is not a standard link - in all another programs where I can change the font - this dialog looks differently.
So this means that It can be reconfigured somehow for user's needs."
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1x64: Wrong font name shown in font configuration
That's because the name is in English (latin letters). When using a Korean Windows, it seems to show the name in Korean (Hangul), and only then there is a problem. Unfortunately I couldn't make my German and English Windows installations show Korean fonts with Korean names, even when changing the locale to Korea.Ok - I did that and for the mentioned Microsoft YaHei I did not get any garbled text on the next dialog:
Regarding your sample, I could add a new entry to the wincmd.ini.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC10.50b1x64: Wrong font name shown in font configuration
That would be really nice and helpful. Since you could see in my initial screenshot that as an example in this dialog a string with completely unnecessary characters is exposed, and therefore it is absolutely impossible to evaluate the appearance of the font with my native letters on this example.Regarding your sample, I could add a new entry to the wincmd.ini.
And if this option is introduced - then I can insert a suitable set of characters, by which the task of selecting a font will be much easier and faster.
#146217 personal license
Re: TC10.50b1x64: Wrong font name shown in font configuration
Here are two screenshots from TC 10.00 x64 and TC 10.50 x64:AntonDudarenko wrote: 2022-04-21, 12:51 UTCCan you show an example of this "wrong" text?yong wrote: 2022-04-14, 03:18 UTC In Configuration -> Display -> Font, the font name is shown as garbled text if a Chinese font (Microsoft YaHei, for instance) is selected.
This is my ver:
[img]https://i.ibb.co/z2VdDdH/1.png[/img]
looking pretty good, isn't it?
TC 10.00 x64:
https://ibb.co/j3zHrBJ
TC 10.50 x64:
https://ibb.co/pRkr9vQ
In order to show the font name in Chinese, Chinese language support must be added in the first place:
On Window 10: Windows Settings -> Time & Language -> Language -> Preferred Languages -> Add a language -> Chinese (Simplified, China)
The Windows display language can be anything that's allowed.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1x64: Wrong font name shown in font configuration
2yong
Thanks, in the meantime I did my own tests and added Korean as display language. The font names appear in Korean only when I set the display language to Korean, not when I set it ti English. But this way I can indeed reproduce the display error! I will try to find a solution.
Thanks, in the meantime I did my own tests and added Korean as display language. The font names appear in Korean only when I set the display language to Korean, not when I set it ti English. But this way I can indeed reproduce the display error! I will try to find a solution.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC10.50b1x64: Wrong font name shown in font configuration
Fixed in TC10.50b3 x64.
Thank you, Mr Ghisler!
Thank you, Mr Ghisler!
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1x64: Wrong font name shown in font configuration
Thanks a lot for reporting! It's very helpful to get such reports, because I never get to see the problem on Windows with Western encoding.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com