I think I can write a few dozen lines of Python to add a text block to a png file. Maybe I'll do that.
On Sun, Jul 24, 2022 at 8:44 AM Ben Pfaff <b...@cs.stanford.edu> wrote: > > I don't think that's required, even though it does seem like a nice thing to > do. > > On Sat, Jul 23, 2022 at 12:15 PM John Darrington > <j...@darrington.wattle.id.au> wrote: > > > > When I looked into this some years ago, gimp was the only tool I found that > > was capable of filling the TXT block of png files. > > > > On Fri, Jul 22, 2022 at 11:48:03AM -0700, Ben Pfaff wrote: > > PSPP currently uses GIMP to generate PNGs from SVGs. GIMP is > > heavyweight, slow, and commonly not installed on developer systems, so > > we run it from Smake as pre-configuration. > > > > There's a newer program called rsvg-convert that is much more commonly > > available these days. It is lightweight, fast, and more commonly > > installed (it is a binary that comes with the rsvg library, which is > > itself widely used). It produces good-quality output. I think that we > > could switch to it from GIMP, run it at build time instead of as part > > of Smake, and thereby improve the build process. > > > > Does anyone have comments on this?