Someone made gitlab.gnome.org/GNOME/librsvg… and it's the kind of patch that is hard to evaluate.

It's to allow restricting rsvg-convert to outputting certain PDF versions. Cairo's default is PDF 1.7, but that causes a warning when embedding such PDFs in #TeXLaTeX.

There are two cases of the relevant warning in texlive (github.com/search?q=repo%3ATeX…) - and as far as I can tell, both are ancient.

So, I'm torn between "having --pdf1.5 is gross in terms of usability" and "this lets people solve a problem".

This entry was edited (2 years ago)
in reply to Jon A. Cruz

@joncruz Heh, I mean, the meat of the patch is a single line of code, that tells Cairo which PDF version to emit. I'd rather do that than send people on a side quest to find how to convert PDF versions. A tiny bit of maintenance load for me, vs. hours wasted for everyone.

(I'd really prefer it if LaTeX would update their defaults (does it really default to emitting PDF 1.4 or something?), but I understand the reasons for its glacial development pace at the core.)