Chinese Text?

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
asym
Newbie Member
Posts: 4
Joined: Thu Mar 15, 2018 2:11 pm

Chinese Text?

Post by asym » Thu Mar 15, 2018 2:21 pm

I'm trying to use traditional Chinese in the Add Text (TA) tool, but I can't seem to get it to work.

With dimensions, I can select a font that includes Chinese (like the google Noto fonts) , and although I can't directly use a Chinese input method in the qcad application, I can copy/paste Chinese characters (廚房 for kitchen for instance). So dimensions are doable.

With the Add Text tool, though, the font selection is more limited and doesn't include any for Chinese. Is there any workaround to getting Chinese to work here?

BTW I'm running qcad 3.19.2 on 64-bit Ubuntu 16.04 (English interface).


Thanks for any help!

Aaron

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Chinese Text?

Post by andrew » Thu Mar 15, 2018 2:56 pm

I cannot reproduce this problem here.

I've installed "Noto Sans CJK TC" under 64-bit Ubuntu and it shows up in the text dialog and I can also create text with it (QCAD 3.19.2).

Please check if you might have configured QCAD to only display a limited range of fonts in the text dialog under:
Edit > Application Preferences > Draw > Text

asym
Newbie Member
Posts: 4
Joined: Thu Mar 15, 2018 2:11 pm

Re: Chinese Text?

Post by asym » Fri Mar 16, 2018 1:14 am

Aha - that was it. Only a limited selection of fonts were displayed. Thanks!

chenjuanhung
Registered Member
Posts: 2
Joined: Thu May 27, 2021 5:24 am

Re: Chinese Text?

Post by chenjuanhung » Thu May 27, 2021 6:34 am

My laptop environment:
Debian 10
qcad-3.26.2-trial-linux-qt5.14-x86_64
qt5
fcitx

Only copy some files to the directory as follows:
:~$ cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/* home/user/opt/qcad-3.26.2-trial-linux-qt5.14-x86_64/platforminputcontexts/

Now you can input chinese by fcitx which in the Qcad text dialogue.
Last edited by chenjuanhung on Tue Feb 28, 2023 2:55 pm, edited 3 times in total.

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Chinese Text?

Post by andrew » Thu May 27, 2021 6:48 am

chenjuanhung: I'm curious as to what files you have in there.

platforminputcontexts contains only these two files here:

libcomposeplatforminputcontextplugin.so
libibusplatforminputcontextplugin.so

And they both ship with QCAD.

Thanks.

chenjuanhung
Registered Member
Posts: 2
Joined: Thu May 27, 2021 5:24 am

Re: Chinese Text?

Post by chenjuanhung » Tue Jun 08, 2021 12:55 pm

When I had installed qcad which directory "qcad-3.26.2-trial-linux-qt5.14-x86_64/platforminputcontexts/" is empty.

Directory "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/" contains only these two files here:
libcomposeplatforminputcontextplugin.so
libibusplatforminputcontextplugin.so

thanks

Post Reply

Return to “QCAD 'How Do I' Questions”