mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Web builds and FreeBSD on 64-bit ARM have no DWG decoder, yet File › Open, File › Place, their "All readable files" and "All placeable files" filters, `openExtensions`, `document.formats`, the MCP open_file description and the CLI help all offered `.dwg` there, and a DWG file then failed in the missing decoder. - `vectorcraft_cad::dwg::DECODES` says whether the build decodes DWG. - `readable_format`, `open_exts()`, `place_exts()` and the per-format dialog filters leave DWG out where it is false; `document.formats` reports `dwg` as not readable there. - An installed `.dwg` importer plug-in is used for such files on those builds, by File › Open, File › Place and folder batches, and the desktop app skips its background DWG conversion there. - Without an importer, File › Place keeps the DWG-specific error, and a `.dwg` file is still not read as HP-GL. The listing functions take the decoder availability as a parameter, so the new test checks both cases on every platform.