Policy & Community

LibreDWG 0.15 adds DXF roundtrip encoding, big-endian support and mmap input

Key Takeaway

LibreDWG 0.15 can now encode DWG files to all supported versions and roundtrip DXF without ODA errors, while adding big-endian support and mmap-based input reading.

Summary

The GNU LibreDWG project has published version 0.15, described by maintainer Reini Urban as a major feature release. The headline capability is full encoding support across all DWG versions plus DXF roundtrips that no longer produce ODA errors, which moves the library beyond its historical read-only focus. The release also bundles a large set of security and bug fixes.

The tooling shipped with the library changes: dwg2SVG and dwg2ps are deprecated in favour of a new dwgplot utility. Input files are now read through mmap, and the codebase gains big-endian support, widening the set of architectures on which LibreDWG can run. Sources are published as 21MB tar.gz and 11MB tar.xz tarballs on the GNU FTP site with detached GPG signatures, and binaries are available from the project's GitHub release page.

What changes in LibreDWG 0.15

  • Encoding coverage: LibreDWG 0.15 can encode DWG files to all supported versions, and DXF roundtrips are now completed without ODA errors, extending the library from its earlier read-oriented role to full write support.
  • Tooling consolidation: The dwg2SVG and dwg2ps converters are deprecated and replaced by a single new dwgplot tool, so existing scripts that call the old binaries will need to be updated.
  • Input path: Input files are now read using mmap instead of conventional read calls, changing how the library maps DWG data into memory.
  • Architecture support: Big-endian support has been added, meaning the library is no longer limited to little-endian hosts.
  • Security and fixes: The release includes numerous security and bug fixes alongside the feature work, and is distributed as signed tarballs (GPG key B8C28866AB27A7A2) with published SHA256 checksums.

Why it matters

LibreDWG is the reference free-software implementation for reading and writing AutoCAD DWG files, so reliable encoding and DXF roundtrips matter to anyone building CAD conversion pipelines, document viewers or archival tools on Linux without proprietary ODA libraries. Big-endian support opens the library to architectures that were previously excluded, and the mmap input path can reduce copying overhead on large drawings. Distributions packaging LibreDWG will need to track the dwg2SVG and dwg2ps deprecation and migrate dependent packages to dwgplot.

Original reference: savannah.gnu.org →