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
Chinese Text?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
- andrew
- Site Admin
- Posts: 8788
- Joined: Fri Mar 30, 2007 6:07 am
Re: Chinese Text?
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
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?
Aha - that was it. Only a limited selection of fonts were displayed. Thanks!
-
chenjuanhung
- Newbie Member
- Posts: 3
- Joined: Thu May 27, 2021 5:24 am
Re: Chinese Text?
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.
2024.10.26 add:
The qcad have "libibusplatforminputcontextplugin.so", so you can use ibus input chinese in qcad which don't do anything.
My laptop environment:
openSUSE Tumbleweed 20241011 (Qt5.15.15)
qcad-3.31.1-pro-linux-qt5.14-x86_64 (Qt5.14.2)
chinese IM:fcitx
Due to the Qt version of system different from qcad, so the "libfcitxplatforminputcontextplugin.so" of system file copy to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/" which don't work.
solution:
refer https://blog.csdn.net/weixin_42233642/a ... /136296326
compile fcitx-qt5 to build "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version.
Copy "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/". Now you can use fcitx input chinese in qcad.
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.
2024.10.26 add:
The qcad have "libibusplatforminputcontextplugin.so", so you can use ibus input chinese in qcad which don't do anything.
My laptop environment:
openSUSE Tumbleweed 20241011 (Qt5.15.15)
qcad-3.31.1-pro-linux-qt5.14-x86_64 (Qt5.14.2)
chinese IM:fcitx
Due to the Qt version of system different from qcad, so the "libfcitxplatforminputcontextplugin.so" of system file copy to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/" which don't work.
solution:
refer https://blog.csdn.net/weixin_42233642/a ... /136296326
compile fcitx-qt5 to build "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version.
Copy "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/". Now you can use fcitx input chinese in qcad.
Last edited by chenjuanhung on Sat Oct 26, 2024 4:56 pm, edited 4 times in total.
- andrew
- Site Admin
- Posts: 8788
- Joined: Fri Mar 30, 2007 6:07 am
Re: Chinese Text?
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.
platforminputcontexts contains only these two files here:
libcomposeplatforminputcontextplugin.so
libibusplatforminputcontextplugin.so
And they both ship with QCAD.
Thanks.
-
chenjuanhung
- Newbie Member
- Posts: 3
- Joined: Thu May 27, 2021 5:24 am
Re: Chinese Text?
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
Directory "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/" contains only these two files here:
libcomposeplatforminputcontextplugin.so
libibusplatforminputcontextplugin.so
thanks
-
xyen2001
- Newbie Member
- Posts: 3
- Joined: Thu Sep 14, 2023 12:27 am
Re: Chinese Text?
Hi,
I'm encountering an issue where I cannot directly input Chinese characters in the text input window. While displaying existing Chinese characters and copying/pasting from other programs work fine, direct input remains unavailable.
Font: Noto Sans CJK TC
Chinese Input Method: fcitx5
I've already attempted the suggested method of copying the platform input context plugins
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/* home/user/opt/qcad-3.26.2-trial-linux-qt5.14-x86_64/platforminputcontexts/
Unfortunately, this solution didn't resolve the issue.
For reference, the directory /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts contains the following files:
libcomposeplatforminputcontextplugin.so
libfcitx5platforminputcontextplugin.so (already using this one)
libibusplatforminputcontextplugin.so
plasmaimplatforminputcontextplugin.so
Any suggestions on how to enable direct Chinese character input in QCAD would be greatly appreciated.
Debian 12, Wayland, KDE
Qcad 3.31.1.0 (3.31.1)
Qt Version: 5.14.2 Compiler: gcc 5.4.0
I'm encountering an issue where I cannot directly input Chinese characters in the text input window. While displaying existing Chinese characters and copying/pasting from other programs work fine, direct input remains unavailable.
Font: Noto Sans CJK TC
Chinese Input Method: fcitx5
I've already attempted the suggested method of copying the platform input context plugins
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/* home/user/opt/qcad-3.26.2-trial-linux-qt5.14-x86_64/platforminputcontexts/
Unfortunately, this solution didn't resolve the issue.
For reference, the directory /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts contains the following files:
libcomposeplatforminputcontextplugin.so
libfcitx5platforminputcontextplugin.so (already using this one)
libibusplatforminputcontextplugin.so
plasmaimplatforminputcontextplugin.so
Any suggestions on how to enable direct Chinese character input in QCAD would be greatly appreciated.
Debian 12, Wayland, KDE
Qcad 3.31.1.0 (3.31.1)
Qt Version: 5.14.2 Compiler: gcc 5.4.0
-
chenjuanhung
- Newbie Member
- Posts: 3
- Joined: Thu May 27, 2021 5:24 am
Re: Chinese Text?
I have an old laptop used debian 11, I check the QT version of old laptop debian 11 which is QT5.15.2.
My thoughts which is the Debian 12 Qt Version maybe above of 5.15.2, but not is 5.14.2.
Due to the Qt version of system different from qcad, so the "libfcitxplatforminputcontextplugin.so" of system file copy to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/" which don't work.
solution:
refer https://blog.csdn.net/weixin_42233642/a ... /136296326
compile fcitx-qt5 to build "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version.
Copy "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/". Now you can use fcitx input chinese in qcad.
My thoughts which is the Debian 12 Qt Version maybe above of 5.15.2, but not is 5.14.2.
Due to the Qt version of system different from qcad, so the "libfcitxplatforminputcontextplugin.so" of system file copy to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/" which don't work.
solution:
refer https://blog.csdn.net/weixin_42233642/a ... /136296326
compile fcitx-qt5 to build "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version.
Copy "libfcitxplatforminputcontextplugin.so" of "Qt5.14.2" version to "~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/". Now you can use fcitx input chinese in qcad.