unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Morgan Willcock <morgan@ice9.digital>,
	 Tassilo Horn <tsdh@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: No NEWS entry for doc-view-mupdf-use-svg (Emacs 30.0.91 feedback)
Date: Sat, 21 Sep 2024 01:04:43 +0530	[thread overview]
Message-ID: <87frpuf7ak.fsf@gmail.com> (raw)
In-Reply-To: <86setu5f85.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Sep 2024 21:53:30 +0300")

[வெள்ளி செப்டம்பர் 20, 2024] Eli Zaretskii wrote:

>> From: Morgan Willcock <morgan@ice9.digital>
>> Date: Fri, 20 Sep 2024 18:53:44 +0100
>> 
>> When testing the Emacs 30 pre-release I found that all of the PDF files
>> which I tried to view were not readable because the text appeared to be
>> missing.
>> 
>> Eventually I found the variable doc-view-mupdf-use-svg, and setting it
>> to nil reverted the rendering to the old method where the text was
>> visible.
>
> Why is that?  If your system supports display of SVG images, why
> wasn't the text readable?  Tassilo, any ideas?
>> I am also not sure that having it default to t (enabling SVG rendering
>> by default) is a good idea.  It probably works well for certain types of
>> document but it wasn't usable for the ones which I was viewing (which
>> were all automated invoices sent by e-mail from multiple organisations).
>
> It is only non-nil if your Emacs supports display of SVG images, and
> in that case I don't see why not do it.  I think we should investigate
> your problem in more detail to understand why it didn't work for you.
> I hope Tassilo will have some ideas for looking into this.

I believe the problem might be the one alluded to in NEWS.29:

    *** doc-view can now generate SVG images when viewing PDF files.
    If Emacs is built with SVG support, doc-view can generate SVG files
    when using MuPDF as the converter for PDF files, which generally leads
    to sharper images (especially when zooming), and allows customization
    of background and foreground color of the page via the new user
    options 'doc-view-svg-background' and 'doc-view-svg-foreground'.  To
    activate this behavior, set 'doc-view-mupdf-use-svg' to non-nil if
    your Emacs has SVG support.  Note that, with some versions of MuPDF,
    SVG generation is known to sometimes produce SVG files that are buggy
    or can take a long time to render.

Stefan reported such a case earlier:
https://yhetil.org/emacs-bugs/jwvbkn722qj.fsf-monnier+emacs@gnu.org/



  reply	other threads:[~2024-09-20 19:34 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-20 17:53 No NEWS entry for doc-view-mupdf-use-svg (Emacs 30.0.91 feedback) Morgan Willcock
2024-09-20 18:53 ` Eli Zaretskii
2024-09-20 19:34   ` Visuwesh [this message]
2024-09-20 19:39   ` Morgan Willcock
2024-09-20 22:29     ` chad
2024-09-20 22:46       ` Morgan Willcock
2024-09-21  8:09     ` Eli Zaretskii
2024-09-21  9:27       ` Morgan Willcock
2024-09-21 17:35         ` Tassilo Horn
2024-09-22 20:57           ` Morgan Willcock
2024-09-23  6:44             ` Tassilo Horn
2024-09-23  8:34               ` Manuel Giraud via Emacs development discussions.
2024-09-23  8:45                 ` Tassilo Horn
2024-09-23 11:34                   ` Manuel Giraud via Emacs development discussions.
2024-09-23 11:56                 ` Eli Zaretskii
2024-09-23 14:51                   ` Tassilo Horn
2024-09-23 15:35                     ` Eli Zaretskii
2024-09-23 15:50                       ` Morgan Willcock
2024-09-23 16:10                       ` Tassilo Horn
2024-09-23 16:27                         ` Eli Zaretskii
2024-09-23 16:54                           ` Tassilo Horn
2024-09-24 11:17                             ` Eli Zaretskii
2024-09-24 11:22                               ` Tassilo Horn
2024-09-23 17:56                         ` Manuel Giraud via Emacs development discussions.
2024-09-23 18:35                           ` Tassilo Horn
2024-09-23 19:06                             ` Manuel Giraud via Emacs development discussions.
2024-09-23  9:36               ` Visuwesh
2024-09-23 11:55               ` Eli Zaretskii
2024-09-23 12:05                 ` Tassilo Horn
2024-09-23 15:32                   ` Eli Zaretskii
2024-09-21  7:28   ` Tassilo Horn
2024-09-21  9:27     ` Morgan Willcock
2024-09-21 11:04       ` Visuwesh

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87frpuf7ak.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=morgan@ice9.digital \
    --cc=tsdh@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 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).