summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedang Manerikar <ved.manerikar@gmail.com>2021-05-30 01:59:54 +0530
committerVedang Manerikar <ved.manerikar@gmail.com>2021-05-30 01:59:54 +0530
commit284a57aee24f2722fd36a821549db5803f87e880 (patch)
tree55145baaa8e76170a3a7c56c3e3d85033f2e32be
parent8b2debaba240d20ac5f30a9ba076eb532a2396c7 (diff)
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.
-rw-r--r--lisp/pdf-info.el2
1 files changed, 1 insertions, 1 deletions
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))