about font in Cuda

Post Reply
SamC
Posts: 207
Joined: 12.08.2023 00:49

about font in Cuda

Post 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!
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: about font in Cuda

Post 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%.
SamC
Posts: 207
Joined: 12.08.2023 00:49

Re: about font in Cuda

Post 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?
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: about font in Cuda

Post by main Alexey »

It depends on font. if font is proportional (char W is wider), core will use auto-detection of all char widths.
Post Reply