On Thu, Sep 21, 2017 at 03:08:45PM +0200, Stephan Witt wrote:
> Am 21.09.2017 um 14:54 schrieb Enrico Forestieri <for...@lyx.org>:
> > On Thu, Sep 21, 2017 at 11:43:29AM +0200, Stephan Witt wrote:
> >> 
> >> My question (again): how can I circumvent this and configure „my“ converter
> >> so it’s used to convert the SVG to PNG and run pdflatex with the PNG 
> >> instead
> >> of the PDF (which would be rasterized anyway, when ImageMagick is used for
> >> SVG to PDF conversion).
> > 
> > Maybe you can use again Qt to convert the SVG to a rasterized PDF.
> > See the attached example. Note that this is not actually limited
> > to SVG but is able to convert to PDF any format natively understood
> > by Qt (even if the original vector format is lost).
> 
> Thank you. That’s not the solution I’d expected. But of course I’ll try that.
> I’d combine your code snippets into a single converter utility if it works.

If you want to preserve the vector format, you could also try to
statically link the following:
https://github.com/openclipart-dev/svg2pdf

-- 
Enrico

Reply via email to