unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* DocView, mupdf and librsvg
@ 2023-01-07 12:07 Manuel Giraud
  2023-01-07 12:24 ` Stephen Berman
  0 siblings, 1 reply; 5+ messages in thread
From: Manuel Giraud @ 2023-01-07 12:07 UTC (permalink / raw)
  To: emacs-devel

[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-08 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-07 12:07 DocView, mupdf and librsvg Manuel Giraud
2023-01-07 12:24 ` Stephen Berman
2023-01-07 13:31   ` Eli Zaretskii
2023-01-07 15:03     ` Manuel Giraud
2023-01-08 10:30       ` Stephen Berman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).