From 4f8796cafcd5c15247fb85e7febd1bb591d0a853 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 23 Oct 2018 14:05:19 +0200 Subject: Use 14 bits of precision for image drawing, to allow for larger images. Now the image size limit is 131072 x 131072 instead of 32768 x 32768. --- source/fitz/draw-affine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fitz/draw-affine.c b/source/fitz/draw-affine.c index 58a48442..04f02f83 100644 --- a/source/fitz/draw-affine.c +++ b/source/fitz/draw-affine.c @@ -6,7 +6,7 @@ #include /* Number of fraction bits for fixed point math */ -#define PREC 16 +#define PREC 14 #define MASK ((1<