From 5b05c545eb3b974416daedcb78f3187ffb94af72 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Thu, 12 Jan 2023 11:58:29 +0530 Subject: [PATCH 1/2] * etc/NEWS: Announce doc-view's SVG support. (bug#58041) --- etc/NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 16d17821b7..505943ffcf 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -561,6 +561,18 @@ option) and can be set to nil to disable Just-in-time Lock mode. * Changes in Emacs 29.1 +--- +** doc-view now generates SVG images when viewing PDF files if possible. +If Emacs is built with SVG support, doc-view defaults to generating +SVG files when using MuPDF as the converter for PDF files which leads +to genearlly sharper images (especially when zooming) and +customization of background and foreground color of the page via the +new user options 'doc-view-svg-background' and +'doc-view-svg-foreground'. To get the old behaviour, set +'doc-view-mupdf-use-svg' to nil. +Note that MuPDF SVG generation is known to sometimes generate files +that are buggy or can take a long time to render. + +++ ** New user option 'major-mode-remap-alist' to specify favorite major modes. This user option lets you remap the default modes (e.g. 'perl-mode' or -- 2.38.1