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

David Hurka david.hurka at mailbox.org
Thu Jun 10 22:45:20 BST 2021


Yes, I am about to write a minimal SVG parser with QDomDocument. The result is 
probably very little code. I would just like to outsource this task to someone 
who already implemented and tested it. :)

On Thursday, June 10, 2021 10:31:26 PM CEST Wolthera wrote:
> 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.







More information about the kde-devel mailing list