On 5/26/26 2:39 PM, Robert Moskowitz wrote:
On 5/26/26 5:16 PM, Samuel Sieb wrote:
On 5/26/26 1:51 PM, Robert Moskowitz via users wrote:
I am using an IETF tool to cover ascii txt art to svg:

https://github.com/martinthomson/aasvg

This uses the json tool npm to:

npm install -g aasvg

I have attached an ascii art text file and the svg output from my F41 system.  The -not svg output is what my F44 system is generating.

The "not svg" is definitely SVG.  Why do you think it isn't?  The only issue I see is that the top row of numbers isn't quite aligned like the other image.

Open them both with some viewer.  Something is wrong with the -not; the content does not show.  I suppose I will have to do a diff on the two to see.

And it definitely does not insert in Libreoffice Write .docx properly.

It looks like the new version is using some style shortcuts that aren't universally supported. Thunderbird shows it fine, but image viewer and inkscape don't. Inkscape will show everything if I select all and give it a stroke style.

The issue is with this part of the style:
:root { color-scheme: light dark; --aasvg-b: light-dark(black, white); --aasvg-w: light-dark(white, black); }
* { fill: none; stroke: var(--aasvg-b); stroke-linecap: round; }

This is standard SVG, but it seems `var()` isn't supported by everything. In particular, there's this issue:
https://gitlab.gnome.org/GNOME/librsvg/-/work_items/459
That's the library used by a lot of things in Fedora.

If you're talking to the author of the tool, you can mention the alignment issue as well.

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to