From: Manuel Giraud <manuel@ledu-giraud.fr>
To: "emacs-devel" <emacs-devel@gnu.org>
Subject: DocView, mupdf and librsvg
Date: Sat, 07 Jan 2023 13:07:22 +0100 [thread overview]
Message-ID: <87y1qefszp.fsf@ledu-giraud.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
Hi,
From some month now, to read PDF, DocView has switched from producing
PNG files for its page cache to producing SVG files. I think it is a
good idea but I have found a bug (that is outside the scope of Emacs
that's why I'm reporting here): mutool could generate SVG files that
librsvg is not able to read back.
FTR, I'm using mupdf 1.21.1 and librsvg 2.54.5. I've attached a sample
PDF and the produced SVG if you want to test on your setting.
I think it would be wise to defaults `doc-view-mupdf-use-svg' to nil in
the upcoming Emacs 29.
[-- Attachment #2: doc.pdf --]
[-- Type: application/pdf, Size: 6573 bytes --]
[-- Attachment #3: page-1.svg --]
[-- Type: image/svg, Size: 2427 bytes --]
[-- Attachment #4: Type: text/plain, Size: 18 bytes --]
--
Manuel Giraud
next reply other threads:[~2023-01-07 12:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-07 12:07 Manuel Giraud [this message]
2023-01-07 12:24 ` DocView, mupdf and librsvg Stephen Berman
2023-01-07 13:31 ` Eli Zaretskii
2023-01-07 15:03 ` Manuel Giraud
2023-01-08 10:30 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1qefszp.fsf@ledu-giraud.fr \
--to=manuel@ledu-giraud.fr \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.