when I run these [code](https://github.com/as010101/as010101.github.io/blob/master/img/dwg2svg.cpp)
```
/// part of code
int main(int argc, int ** argv) {

	int error = 0;
	Dwg_Data dwg;
	memset(&dwg, 0, sizeof(Dwg_Data));
        g_dwg.opts = 3;
	// (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
	//libiconv(nullptr, nullptr, nullptr, nullptr, nullptr );
	error = dwg_read_file("sample_2000.dwg", &dwg);

	if (!error) {
        output_SVG(&dwg);} // a function in  dwg2svg.c
        return 0;
}
```
I get error  output on terminal.   [dwg source file and the svg result file](https://github.com/as010101/as010101.github.io/blob/master/img/test1.zip), the svg file is very different with dwg file.
Is there any problem with the use of `output_SVG` , How can I get the correct svg file?


**update 20230505**
 output_SVG cant get  correct result
[example_2018 dwg + dxf](https://github.com/as010101/as010101.github.io/blob/master/img/example_2018.rar)
output_SVG  function can't  get the correct result
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : output_SVG  function can't  get the correct result
Issue date:

--- start body ---
when I run these [code](https://github.com/as010101/as010101.github.io/blob/master/img/dwg2svg.cpp)
```
/// part of code
int main(int argc, int ** argv) {

	int error = 0;
	Dwg_Data dwg;
	memset(&dwg, 0, sizeof(Dwg_Data));
        g_dwg.opts = 3;
	// (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
	//libiconv(nullptr, nullptr, nullptr, nullptr, nullptr );
	error = dwg_read_file("sample_2000.dwg", &dwg);

	if (!error) {
        output_SVG(&dwg);} // a function in  dwg2svg.c
        return 0;
}
```
I get error  output on terminal.   [dwg source file and the svg result file](https://github.com/as010101/as010101.github.io/blob/master/img/test1.zip), the svg file is very different with dwg file.
Is there any problem with the use of `output_SVG` , How can I get the correct svg file?


**update 20230505**
 output_SVG cant get  correct result
[example_2018 dwg + dxf](https://github.com/as010101/as010101.github.io/blob/master/img/example_2018.rar)
--- end body ---
