problem with japanese characters

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
martblek
Active Member
Posts: 29
Joined: Wed Sep 02, 2020 7:58 am

problem with japanese characters

Post by martblek » Thu Feb 11, 2021 6:46 pm

Hello,
if I turn off text replacement when I load a drawing, the text appears to me as question marks.
But it is strange that it is displayed correctly in the information.
It can be seen better in the video.
Thanks.
Tested on linux, QCadCam 3.25.2.7.

https://youtu.be/6v47CqO0Jzo

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

Re: problem with japanese characters

Post by andrew » Thu Feb 11, 2021 8:37 pm

The font "simplex" that comes with QCAD does not contain Japanese or Chinese glyphs. You'd have to substitute that font for "Unicode" or a TrueType font with international glyphs (for instance "Arial Unicode MS").

martblek
Active Member
Posts: 29
Joined: Wed Sep 02, 2020 7:58 am

Re: problem with japanese characters

Post by martblek » Fri Feb 12, 2021 6:49 am

Hello,
I tried it, but I didn't find any font that would display the characters correctly.
The text is corrupt or some part is completely missing.
Here are a few pictures from the loaded drawing as they appear elsewhere.
Also in the font replacement table it's kind of weird.
unfortunately I have a ton of such drawings.
This is the only thing that prevents me from using Qcad every day to the fullest,
which I'm sorry about :(

thanks for reading.

Varicad Viewer
varicad.PNG
varicad.PNG (132.09 KiB) Viewed 6270 times

Old Solidworks2D editor.
sld2d.PNG
sld2d.PNG (148 KiB) Viewed 6270 times

QCad without substitute
without.PNG
without.PNG (357.21 KiB) Viewed 6270 times

QCad with substitute
with.PNG
with.PNG (254.97 KiB) Viewed 6270 times

weird substitute dialog
substitute.PNG
substitute.PNG (36.9 KiB) Viewed 6270 times

and finally test file
test.dwg
(717.49 KiB) Downloaded 362 times

martblek
Active Member
Posts: 29
Joined: Wed Sep 02, 2020 7:58 am

Re: problem with japanese characters

Post by martblek » Fri Feb 12, 2021 7:55 am

Hello,
As you can see in the video, I will only see question marks without replacing the font,
but if I edit the text (just double-click and give ok in the dialog) the text will appear just like you,
but I have to double-click on each text and give ok :(
strange.

martblek
Active Member
Posts: 29
Joined: Wed Sep 02, 2020 7:58 am

Re: problem with japanese characters

Post by martblek » Fri Feb 12, 2021 8:10 am

Hello,
I found a solution (workaround).
If i change language from Czech to English i don't need to doubleclicking and confirming in dialog.
The text will appear right after loading.
But some parts sometimes missing like here in points 4. and 5., 6. (look at sld2d editor picture).
But it is already a step forward :)
thanks.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: problem with japanese characters

Post by Husky » Fri Feb 12, 2021 8:26 am

Something isn't proper working .... :cry:

Please try this:

Load test.dwg - it should load text with question marks,
don't change anything!
save the drawing under a new name,
close the drawing,
load the new drawing - it should now load without question marks ...
... I'm right?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

martblek
Active Member
Posts: 29
Joined: Wed Sep 02, 2020 7:58 am

Re: problem with japanese characters

Post by martblek » Fri Feb 12, 2021 8:43 am

hello,
Workaround not working :(
I did it the way you wanted, here are the results

Win10, QCadCam 3.25.2.12 lang set to English.

right after loading without substitute.
original.PNG
original.PNG (321.04 KiB) Viewed 6257 times

after loading saved file from QCad
result.PNG
result.PNG (176.41 KiB) Viewed 6257 times

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: problem with japanese characters

Post by Husky » Fri Feb 12, 2021 9:46 am

martblek wrote:
Fri Feb 12, 2021 8:43 am
hello,
Workaround not working :(
I did it the way you wanted, here are the results
Nope - you did not. You used a different drawing.

Husky-2021.02.12-06.png
Husky-2021.02.12-06.png (77.36 KiB) Viewed 6255 times
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

martblek
Active Member
Posts: 29
Joined: Wed Sep 02, 2020 7:58 am

Re: problem with japanese characters

Post by martblek » Fri Feb 12, 2021 10:04 am

Hello again,
first of all, sorry I'm testing many files.

I downloaded attached original dwg file "test.dwg" and opened in QCad.
Here is the result.
before.PNG
before.PNG (286.86 KiB) Viewed 6253 times
after saving i open file in QCad.
after.PNG
after.PNG (162.52 KiB) Viewed 6253 times

same file saved in QCad but opened in Varicad Viewer
afterVari.PNG
afterVari.PNG (223.43 KiB) Viewed 6253 times
original "test.dwg" file saved from QCad.
test_after.dwg
(733.79 KiB) Downloaded 373 times

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: problem with japanese characters

Post by Husky » Fri Feb 12, 2021 7:38 pm

Hi,

playing around and I got the same result in QCAD like you in Varicad Viewer. Why? I can't explain it! Maybe Andrew knows why ...

How:
load test_after.dwg (is a R32 format)
saved as test_after_R12.dwg in dwg version R11/R12,
closed / loaded
Substitute fonts to simplex again / just confirmed...
saved as test_after_R27.dwg in dwg version R27
closed / loaded
result: same text rendering like Varicad Viewer

Husky-2021.02.12-01.png
Husky-2021.02.12-01.png (108.06 KiB) Viewed 6226 times
test_after_R27.dwg
(2.05 MiB) Downloaded 351 times
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

Post Reply

Return to “QCAD Troubleshooting and Problems”