Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode for “一”~“九” not work #9

Open
Ahacad opened this issue May 18, 2020 · 3 comments
Open

Unicode for “一”~“九” not work #9

Ahacad opened this issue May 18, 2020 · 3 comments

Comments

@Ahacad
Copy link
Contributor

Ahacad commented May 18, 2020

Don't know whether it's because I don't have the fonts installed on my machine (ubuntu 20.04 LTS).
I tried apt-get install unicode-data but did't solve the problem.
Then I looked up 32-bit unicodes for these nine characters on this website: https://www.unicode.org/charts/unihan.html, and get them.

 \U00004E00 \U00004E8C \U00004E09 \U000056DB \U00004E94 \U0000516D \U00004E03 \U0000516B  \U00004E5D
@theniceboy
Copy link
Owner

theniceboy commented May 18, 2020

If you did have Chinese fonts installed, then for whatever font you defined here, the font you defined either doesn't support Unicode, or you don't have SauceCodePro Nerd Font Mono and the fallback font doesn't support Unicode.

@Ahacad
Copy link
Contributor Author

Ahacad commented May 19, 2020

Did some more tests.
I was using the default monospace font. When using the original "\uf120"s it turned out to be strange characters, When using "\U00004E00"s however it turned out quiet well.
Then I installed the SauceCodePro from github (to /usr/share/opentype/scp), and tried "\uf120"s, again it was strange characters, but "\U00004E00" still worked.

@Przeblysk
Copy link

You can try change your config.h: edit font

the nice girl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants