I have a CAM program that refuses to read dxf files created by QCad on Linux. I was able to correct the issue by running "dos2unix --u2d" on the Linux-created file to change the line endings from <LF> to <CR><LF> for DOS. Since DXF was originally created in the DOS world, I guess that the "correct" thing to do would be to have <CR><LF> line termination for all operating systems.
It looks like the "\n" items in dl_writer_ascii.cpp would simply need to be changed to "\r\n" to make the DXF file output identical for all.
If you are having problems with dxflib, post here. Please report bugs here.
1 post • Page 1 of 1