Skip to content

How to specify other SVG conversion tools (Inkscape) into the chain #1144

Open

Description

@jjallaire

Discussed in #1140

Originally posted by fuhrmanator June 13, 2022
I'm using SVG a lot in my markdown, and it renders nicely (most of the time) in PDF by way of rsvg-convert part of the LaTeX chain:

(rsvg-convert.exe:2516): Pango-WARNING **: couldn't load font "Helvetica Not-Rotated 13.640625", falling back to "Sans Not-Rotated 13.640625", expect ugly output.

I'd like to use Inkscape instead, as it does some things better, especially with fonts I've installed in Windows.

Is there a way to specify that SVG conversions to PDF should be done using Inkscape?

Activity

  1. cderv commented on Jun 14, 2022

    @cderv
    Member

    Probably related to #997 where rsvg-convert was mentioned, as Pandoc is using it directly when PDF writer is used: https://github.com/jgm/pandoc/blob/b263f383040618ff991912512ccd396b83d43da5/src/Text/Pandoc/PDF.hs#L194-L205

    #997 and this issue are probably about a Lua filter to do the same task (SVG converion), and which would be configurable

  2. added this to the Future milestone on Jun 14, 2022
  3. added
    enhancement
    on Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfigures

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions