-
-
Notifications
You must be signed in to change notification settings - Fork 142
When converting a DWG file to a DXF file, the Chinese characters are garbled. #622
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
Comments
Hi @tianxin8206, Could you provide the file in the example to run the code on my end? Thanks! |
The issue is related to the I'll open a PR to fix it. Thanks for the report! |
@DomCR Excuse me, has this bug been fixed? I have already upgraded to version v1.1.19 and set DxfWriter.Configuration.WriteOptionalValues to true, but the converted content is still incorrect. |
Hi @tianxin8206, I guess that you are referring to the title: If you have made changes in the text and increasing it's length, you will need to recalculate the I'm sorry but this feature is not integrated in this library because it requires some external ones that provide information about the font, size... |
Hi @DomCR |
Ok, sorry for not seeing it but It's hard to notice when you don't know Chinese. Steps:
Could you give me an specific example so I can focus on the difference between both files? like 2 images, 1 with the input file and other with the output, with an specific character to look at so I can see the difference. Sorry for asking all that 😅 |
Hi @DomCR |
Layers are not read when generating the dxf, reopening the issue. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I read a normal DWG file and then converted it into a DXF file, but the Chinese content is displayed abnormally.
To Reproduce
My Code:
Screenshots
normal:
abnormal:
Release needed
The text was updated successfully, but these errors were encountered: