Skip to content

Commit

Permalink
[pdf] Disable pdf-view-use-scaling by default
Browse files Browse the repository at this point in the history
Addresses syl20bnr#16517.
  • Loading branch information
fnussbaum committed Sep 18, 2024
1 parent fab1563 commit 85be8a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layers/+readers/pdf/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
(defun pdf/init-pdf-tools ()
(use-package pdf-tools
:defer t
:custom
;; `pdf-view-use-scaling' can lead to severe performance problems,
;; especially after zooming
(pdf-view-use-scaling nil)
:init
(spacemacs//pdf-tools-setup-transient-state)
(pdf-loader-install)
Expand Down

0 comments on commit 85be8a8

Please sign in to comment.