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

Cannot display Chinese words (including bopomofo) #71

Closed
david50407 opened this issue Mar 15, 2016 · 7 comments
Closed

Cannot display Chinese words (including bopomofo) #71

david50407 opened this issue Mar 15, 2016 · 7 comments

Comments

@david50407
Copy link
Member

As the snapshot below, it cannot display Chinese words on my Manjaro Linux (which forked from Arch Linux).
The editor is built by myself with Qt 5.1.1 at d9b7f53.
I also read the issue #7 and run program with QT_HARFBUZZ=old but it acted as the same.

image

@PingNote
Copy link

Hi @david50407 , I'm Manjaro Linux and IBus user , here are some information may be helpful to you .

via https://wiki.archlinux.org/index.php/IBus#Installation :

Additionally, to enable IBus for Qt applications, install the ibus-qt library.

via https://wiki.archlinux.org/index.php/IBus#IBus :

Note: You need to have east Asian fonts installed if you want to enter Chinese, Japanese, Korean or Vietnamese characters.

via https://wiki.archlinux.org/index.php/IBus#Chinese_input :

If you encounter problems when using Chinese input, check your locale setting. For example in Taiwan, export LANG=zh_TW.UTF-8.

@david50407
Copy link
Member Author

@PingNote hi, I can type chinese in chewing-editor and terminal but only terminal shows the correct words

@Chocobo1
Copy link
Member

hi, I can type chinese in chewing-editor and terminal but only terminal shows the correct words

I guess your UI font doesn't support Chinese chars? can you try another font?

@david50407
Copy link
Member Author

@Chocobo1 It fixed after I changed UI font, thx :)

@cyng93
Copy link
Contributor

cyng93 commented Mar 16, 2016

@david50407 I am also having the issue of can't display Bopomofo properly in the chewing-editor.
I try to fix the problem by following the way mentioned in issue #7 , but I doesn't understand what exactly does "run the program with QT_HARFBUZZ=old " means.

I had try to run the program like
$ ./chewing-editor -Qt_HARFBUZZ=old
$ cmake . -DQt_HARFBUZZ=old
but both of the ways mentioned above doesn't seems to be the right way.
Any helps will be appreciated.

@david50407
Copy link
Member Author

@cyng93 try

QT_HARFBUZZ=old ./chewing-editor

@cyng93
Copy link
Contributor

cyng93 commented Mar 16, 2016

Yep that fixed my problem, thanks a lot !

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

4 participants