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

UI can not show Chinese font #77

Open
inuxor opened this issue Apr 25, 2022 · 1 comment
Open

UI can not show Chinese font #77

inuxor opened this issue Apr 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@inuxor
Copy link

inuxor commented Apr 25, 2022

Describe the bug
UI can not show Chinese font

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'add'
  2. Click on 'import'
  3. the buttons show ⬛

Expected behavior
some where used a chinese font can not be find.

Screenshots

Screenshot_20220425_222705

Desktop (please complete the following information):
OS: Manjaro Linux x86_64
Kernel: 5.17.4-1-MANJARO
DE: Plasma 5.24.4
WM: KWin

locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY=zh_CN.UTF-8
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_IDENTIFICATION=zh_CN.UTF-8
LC_ALL=

install with

yay -S muon-ssh

Additional context
same issue in colors select part

Screenshot_20220425_225106

@liunn123
Copy link

getResourceAsStream("/fonts/Helvetica.ttf")) 换一下这里的Helvetica.ttf,就可以了支持中文了。
我用的是zysong.ttf这个,就可以正常显示,输入 中文了

@devlinx9 devlinx9 added the bug Something isn't working label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants