Fix DocView with PostScript files
* lisp/doc-view.el (doc-view-set-up-single-converter): Produce PNG from PS in a file with ".png" extension. (Bug#72193)
This commit is contained in:
parent
816c53c2d9
commit
ab29b28d4b
1 changed files with 2 additions and 0 deletions
|
@ -2148,6 +2148,8 @@ GOTO-PAGE-FN other than `doc-view-goto-page'."
|
|||
(pcase-let ((`(,conv-function ,type ,extension)
|
||||
(pcase doc-view-doc-type
|
||||
('djvu (list #'doc-view-djvu->tiff-converter-ddjvu 'tiff "tif"))
|
||||
((or 'ps 'postscript 'eps)
|
||||
(list #'doc-view-ps->png-converter-ghostscript 'png "png"))
|
||||
(_ (if (and (eq doc-view-pdf->png-converter-function
|
||||
#'doc-view-pdf->png-converter-mupdf)
|
||||
doc-view-mupdf-use-svg)
|
||||
|
|
Loading…
Add table
Reference in a new issue