diff --git a/js/reveal.js b/js/reveal.js
index aefb514296a56afb83df217e5dc25880f29d0616..4e8f9f2caa19860ce2ca362b9a2edc1931ed94eb 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -443,8 +443,8 @@
 		var slideSize = getComputedSlideSize( window.innerWidth, window.innerHeight );
 
 		// Dimensions of the PDF pages
-		var pageWidth = Math.round( slideSize.width * ( 1 + config.margin ) ),
-			pageHeight = Math.round( slideSize.height * ( 1 + config.margin  ) );
+		var pageWidth = Math.ceil( slideSize.width * ( 1 + config.margin ) ),
+			pageHeight = Math.ceil( slideSize.height * ( 1 + config.margin  ) );
 
 		// Dimensions of slides within the pages
 		var slideWidth = slideSize.width,