Hi Sebastian, thanks for the bug report and the patches! They look good
to me at first glance, I will forward them upstream and if they agree
I'll incorporate them into an updated debian package.
Do you have an example of a DXF file that fails before these patches and
works after them?