Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG Diagrams via Dia: Problems & Solution #74

Open
tajmone opened this issue Feb 5, 2021 · 0 comments
Open

SVG Diagrams via Dia: Problems & Solution #74

tajmone opened this issue Feb 5, 2021 · 0 comments
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

Comments

@tajmone
Copy link
Owner

tajmone commented Feb 5, 2021

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:

@tajmone tajmone added 💀 bug Something isn't working 🕑 pending decision Issue requires decisions by maintainers ⭐ diagrams Topic: diagram images ⭐ SVG Topic: SVG images 🔨 Dia Tool: Dia Diagram Editor labels Feb 5, 2021
@tajmone tajmone added this to the plus ultra milestone Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant