DOT_IMAGE_FORMAT=svg:cairo fails since 1.17.0
Describe the bug
DOT_IMAGE_FORMAT = svg:cairo works with Doxygen 1.16.1, but fails with 1.17.0 and 1.18.0.
Example error:
error: Failed to rename /workspace/build-1.17.0/html/classBase__inherit__graph.dot.svg:cairo to /workspace/build-1.17.0/html/classBase__inherit__graph.svg:cairo!All versions were tested in the same Ubuntu 26.04 Docker environment with:
dot - graphviz version 14.1.2 (0)With Doxygen 1.16.1, the expected file is generated:
classBase__inherit__graph.svgWith Doxygen 1.17.0 and 1.18.0, Graphviz actually generates:
classBase__inherit__graph.dot.cairo.svgwhile Doxygen tries to rename:
classBase__inherit__graph.dot.svg:cairoThis appears to be a regression related to the batched dot processing introduced in 1.17.0. The full svg:cairo Graphviz format specification is being treated as a filename suffix.
To Reproduce
A complete Docker-based reproduction is attached.
Run:
./reproduce.shIt builds Doxygen 1.16.1, 1.17.0, and 1.18.0 from the official source tarballs and compares their output.
Relevant Doxyfile setting:
DOT_IMAGE_FORMAT = svg:cairoExpected behavior
svg:cairo should produce normal .svg files as it does with Doxygen 1.16.1.
Version
- Works: 1.16.1
- Fails: 1.17.0, 1.18.0
- Graphviz: 14.1.2
- Ubuntu: 26.04
Source: doxygen/doxygen