Page 1 of 1

about font in Cuda

Posted: 14.01.2024 07:17
by SamC
There are two questions for font in cuda:
1. What't meaning for the rightdown part of the dialog below?(my UI is English but this window is in Chinese,it‘s the font menu in option)
20240114151636.png
2. The width of Chinese characters is about 2 times of English characters but a little lesser,how to set it to exactly 2 time?It fully depends on the font or also depend on the build-in settings of cuda?I‘ve tried several font that says western character is exactly half width of Chinese characters,but it shows in cuda is not very “exact”.
Thanks!

Re: about font in Cuda

Posted: 14.01.2024 09:42
by main Alexey
1. font dialog is from OS. I don't know what that option means in it. Ask at Windows forums
2. CJK char width = 190%. See Cud option "unicode_full_width".
In SublimeText / VSCode, CJK width is also NOT 200%. it is smaller, maybe 170..190%.

Re: about font in Cuda

Posted: 14.01.2024 09:55
by SamC
main Alexey wrote: 14.01.2024 09:42 1. font dialog is from OS. I don't know what that option means in it. Ask at Windows forums
2. CJK char width = 190%. See Cud option "unicode_full_width".
In SublimeText / VSCode, CJK width is also NOT 200%. it is smaller, maybe 170..190%.
Thanks,the option works well~
The CJK char seems always be monospaced font, does the western char also always be monospaced font in cuda?Or depend on font?

Re: about font in Cuda

Posted: 14.01.2024 10:08
by main Alexey
It depends on font. if font is proportional (char W is wider), core will use auto-detection of all char widths.