aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-03-21 16:47:38 -0400
committerZackaryWelch <welch.zackary@gmail.com>2018-03-21 16:47:38 -0400
commit8239f07ed001e1da3cf36e859303ddd5f62cb507 (patch)
treeeaaf318d270b93f5d4e276c29842d03c4f67a8df /src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp
parentAdded a bookmarks menu, enabled on the MuPDF side. (diff)
downloadlumina-8239f07ed001e1da3cf36e859303ddd5f62cb507.tar.gz
lumina-8239f07ed001e1da3cf36e859303ddd5f62cb507.tar.bz2
lumina-8239f07ed001e1da3cf36e859303ddd5f62cb507.zip
Improved Bookmarks layout and made MuPDF the default backend
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp
index 7846e9c1..2349fff3 100644
--- a/src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp
+++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-mupdf.cpp
@@ -209,7 +209,7 @@ void Renderer::renderPage(int pagenum, QSize DPI, int degrees){
fz_pixmap *pixmap;
fz_display_list *list;
- double pageDPI = 150.0;
+ double pageDPI = 96.0;
double sf = DPI.width() / pageDPI;
fz_scale(&matrix, sf, sf);
fz_pre_rotate(&matrix, degrees);
bgstack15