Page 1 of 1
Support Chinese words?
Posted: Fri Aug 07, 2020 5:42 pm
by EddyLin
I have test dwg2svg but I found all my Chinese words become ?????????.
Will you support Chinese words?
Re: Support Chinese words?
Posted: Fri Aug 07, 2020 6:25 pm
by andrew
Please attach or e-mail your DXF and SVG, so we can see if the problem is in the DXF, the SVG or the SVG viewer.
Re: Support Chinese words?
Posted: Sat Aug 08, 2020 6:21 pm
by EddyLin
Due to the copy rights issue I have sent an email to
[email protected]. Please help to solve my problem. Thanks.
Re: Support Chinese words?
Posted: Mon Aug 10, 2020 8:44 am
by andrew
The file uses fonts "romans" and "romanc", both don't define Chinese or other international glyphs.
For this file, I'd recommend the following options (substitute fonts):
Code: Select all
./dwg2svg -fs romans Arial -fs romanc Arial -f -o output.svg input.dwg
This is assuming that your system has an Arial font installed with support for Chinese glyphs.
To keep text as text in SVG add -g:
Code: Select all
./dwg2svg -g -fs romans Arial -fs romanc Arial -f -o output.svg input.dwg