Looking for an SVGDOM / other SVG library for use with C++ and CMake.

Wolthera griffinvalley at gmail.com
Thu Jun 10 21:31:26 BST 2021


If you are only looking to batch process SVG files without rendering,
you can just use any XML library. QDomDocument is perfectly fine for
most situations. You can do something like setting a Title tag on the
group or path that represents the icon, you can do this in inkscape
via the 'object properties' dialog, and it will add that value as
<title>text</title>  as a child of the XML element represent <g /> or
<path />.

The tricky bit about the SVG spec is getting the rendering right, but
as long as you're not doing that, just use your favourite XML library.


-- 
Wolthera



More information about the kde-devel mailing list