mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-23 21:13:52 -08:00
Disable and document 'doc-view-mupdf-use-svg' (bug#58041)
* lisp/doc-view.el (doc-view-mupdf-use-svg): Disable by default. * etc/NEWS: Document. Patch by Visuwesh <visuweshm@gmail.com>. Do not merge to master.
This commit is contained in:
parent
f1032bf24e
commit
79971ebacc
2 changed files with 16 additions and 2 deletions
14
etc/NEWS
14
etc/NEWS
|
|
@ -1636,6 +1636,20 @@ randomness as before, or to use a bag).
|
|||
*** New user option 'battery-update-functions'.
|
||||
This can be used to trigger actions based on the battery status.
|
||||
|
||||
** DocView
|
||||
|
||||
*** 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 behaviour, 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.
|
||||
|
||||
|
||||
** Enriched Mode
|
||||
|
||||
+++
|
||||
|
|
|
|||
|
|
@ -209,8 +209,8 @@ are available (see Info node `(emacs)Document View')."
|
|||
function)
|
||||
:version "24.4")
|
||||
|
||||
(defcustom doc-view-mupdf-use-svg (image-type-available-p 'svg)
|
||||
"Whether to use svg images for PDF files."
|
||||
(defcustom doc-view-mupdf-use-svg nil
|
||||
"Whether to use SVG images for PDF files."
|
||||
:type 'boolean
|
||||
:version "29.1")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue