From 284a57aee24f2722fd36a821549db5803f87e880 Mon Sep 17 00:00:00 2001 From: Vedang Manerikar Date: Sun, 30 May 2021 01:59:54 +0530 Subject: Revert "`pdf-info-renderpage`: Use the width of the page as passed in." This reverts commit 8b2debaba240d20ac5f30a9ba076eb532a2396c7, which was introduced in an attempt to fix #13. I am now tracking this issue under #19. @iostapyshyn has confirmed that this change breaks scaling and is not the correct fix. --- lisp/pdf-info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/pdf-info.el b/lisp/pdf-info.el index 8f16cfd..0c345a2 100644 --- a/lisp/pdf-info.el +++ b/lisp/pdf-info.el @@ -1594,7 +1594,7 @@ Return the data of the corresponding PNG image." 'renderpage (pdf-info--normalize-file-or-buffer file-or-buffer) page - width + (* width (pdf-util-frame-scale-factor)) (let (transformed) (while (cdr commands) (let ((kw (pop commands)) -- cgit v1.0