SVG Diagrams via Dia: Problems & Solution #74
Labels
🕑 pending decision
Issue requires decisions by maintainers
🔨 Dia
Tool: Dia Diagram Editor
💀 bug
Something isn't working
⭐ diagrams
Topic: diagram images
⭐ SVG
Topic: SVG images
Milestone
While working on another AsciiDoc project, I've realized that SVG diagrams generated via Dia Diagram Editor are not properly aligning text which wraps across multiple lines (which has a noticeable effect when using monospaced fonts and centered aligned text split across multiple lines).
Furthermore, while working on a solution, I realized that exporting to the
cairo-svg
format (an alternative SVG export format to Dia's default, not mentioned in the CLI help) generates images which are exempt from the alignment problem.As an added bonus, I also discovered that the Cairo SVG format converts text to vector shapes, thus freeing the diagrams from fonts dependencies.
For the full details of the problem and its possible solutions, and to join the discussion, see the upstream Issue:
See also:
The text was updated successfully, but these errors were encountered: