bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62713: 29.0.60; DocView shows wrong conversion indicator when config


From: Stefan Kangas
Subject: bug#62713: 29.0.60; DocView shows wrong conversion indicator when configured to use svg images
Date: Tue, 26 Sep 2023 04:43:05 -0700

Visuwesh <visuweshm@gmail.com> writes:

> [திங்கள் செப்டம்பர் 25, 2023] Visuwesh wrote:
>
>> It is better solved by writing a separate pdf->svg converter function.
>> Right now, the svg conversion is tacked on top of pdf->png converter
>> function used for MuPDF.  This was done because I thought only MuPDF
>> supported pdf->svg conversion but later I was informed that poppler has
>> utilities to do too.
>
> And looks like the poppler utility pdftocairo does not work the doc-view
> expects it to when generating svg images.  AFAICT, there is no way to
> make pdftocairo to generate a svg image per page like other tools do.  I
> cannot loop either as there is also no way to know the number of pages
> beforehand.  The png function also has hacks since pdftocairo is not
> cooperative, and changing doc-view to not use
> doc-view--image-file-pattern does not seem to be easy.  I attach the
> patch named "doc-view-general-svg-wip.patch" which has my WIP and it
> works just fine for MuPDF.
>
> This particular problem can be easily solved by the following simple
> patch instead:

Tassilo, could you perhaps take a look at this patch?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]