diff --git a/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/PdfPageExtension.cs b/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/PdfPageExtension.cs
index a65203d..94f3029 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/PdfPageExtension.cs
+++ b/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/PdfPageExtension.cs
@@ -61,9 +61,9 @@ namespace QuickLook.Plugin.PDFViewer
var realWidth = (int) Math.Round(size.Width * scale.Horizontal * factor);
var realHeight = (int) Math.Round(size.Height * scale.Vertical * factor);
- bitmap = doc.PdfDocument.Render(page, realWidth, realHeight, dpiX, dpiY,
+ bitmap = doc.PdfDocument.Render(page, realWidth, realHeight, dpiX, dpiY, PdfRotation.Rotate0,
PdfRenderFlags.LimitImageCacheSize | PdfRenderFlags.LcdText | PdfRenderFlags.Annotations |
- PdfRenderFlags.ForPrinting) as Bitmap;
+ PdfRenderFlags.ForPrinting, true) as Bitmap;
}
var bs = bitmap?.ToBitmapSource();
diff --git a/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PdfViewer.csproj b/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PdfViewer.csproj
index c239a91..3084acc 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PdfViewer.csproj
+++ b/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PdfViewer.csproj
@@ -1,7 +1,7 @@
-
-
+
+
Debug
@@ -65,8 +65,8 @@
-
- ..\..\packages\PdfiumViewer.2.13.0.0\lib\net20\PdfiumViewer.dll
+
+ ..\..\packages\PdfiumViewer.Updated.2.14.0\lib\net45\PdfiumViewer.dll
@@ -114,17 +114,17 @@
-
+
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
+
+
\ No newline at end of file
diff --git a/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/packages.config b/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/packages.config
index e69a77d..693109e 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/packages.config
+++ b/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/packages.config
@@ -1,7 +1,6 @@
-
-
-
-
+
+
+
\ No newline at end of file