Hello, I made a GTK 4 application that creates a multipage PDF using Cairo, and this PDF is targeted to be used as design to be cut/score/drawn with a cutting machine that accepts only svg paths. As parametrization of the cutting machine software must be done by hand, I need to combine all lines by job in order to have only one path to parametrize by job instead. For the moment I’m doing the needed changes by hand using Inkscape and a little node js code, and I’m wondering if instead of this PDF output I could make a SVG output (the multipage is now handled by Inkscape but I’m not sure if it is supported by Cairo just like it does for PDF. It’s the first time I’m making a GTK application, and also first time I’m using Cairo graphics library, so I’m not aware of it’s possibilities even if I tried to read docs. I not sure if there is a way to combine paths like I’m doing with node js using dom.
Here’s what I have
left : PDF created from my GTK4 Application using Cairo
right : PDF imported into Inkscape handling its pages and that can be saved as PDF or also as SVG.
My question is can I directly create such SVG from my GTK4 application ?
(optional question, I see that on the optional tags there’s no GTK4, do you recommend me to keep on using GTK4 or use GTK3 instead that has more documentation and examples ?)