libdfxrw status, write, text codec and other issues.
With the pull from today the status are almost ready.
the read/write are complete, in terms of supported emtities,
for version R14, 2000, 2004, 2007 and 2010.
For version R12 does not write ellipse, dimensions & hatch,
these entities are not supported by R12 and can convert to
unnamed blocks and ellipse to approximate polyline.
Some unsupported entities are added:
RAY, XLINE, 3DFACE (converted as polyline)
I added in the library a codec that converts text between
code pages and Unicode, then the interface into the lib
and the program are always in unicode (encoded as UTF-8).
The codec are tested in my suse 64b and in a windows XP 32b
For develop and test I write a simple QT program (attached)
I need people for test in other systems and languages like
chinese, japanese, russian, polish, ucranian, etc. testcp.zip
I think the default version must be 2007 (published in 2006)
because the text are in UTF-8 instead of using old 8 bytes
windows code pages.
I spent yesterday trying to troubleshoot the problem behind why a vendor could not work with my QCAD/LibreCAD 1.2.0-1.1 DXF 2000 and DXF R12 files. I have also had this problem with previous versions of QCAD.
This morning I built Version: master SCM Revision: 2.0.0alpha4-7-gb396762 on my Fedora 16 box.
I opened the same file that the vendor had issues with using the Alpha build and saved files in R14, 2007, 2004 and 2000 formats.
I sent all the files to the vendor who uses ACAD and a proprietary DXF/DWG quoting tool.
Both tools opened all the files and worked with them without any trouble.
I am very happy that LibreCAD solved this problem for me.