Re:PEP – An open source PDF editor for Mac
by runarberg on Tuesday September 15, 2020 @02:15PM
(#24484630)
Is it possible to use inkscape as a library? If not you can always use whatever library to produce an SVG and convert it to PDF. Or are there features in PDF that is impossible to produce using SVG?
[ Parent
| on HN ]
Re:PEP – An open source PDF editor for Mac
by strogonoff on Wednesday September 16, 2020 @06:09AM
(#24491203)
Well, generally it is possible to produce a PDF where each page is one big vector (or even one big raster image for that matter). It would visually look the same as the one created from separate objects and text, but from my understanding with this approach it would be tricky or impossible to create a properly tagged accessible PDF.
That aside, using Inkscape for parts of the doc looked like an interesting idea. I checked and unfortunately the API seems limited. There is a Python plugin system but I don’t think it is possible to create a solution that works entirely headless on CI boxes without having to invoke Inkscape GUI.