Sync with upstream
commitc7ec008b677f6b320fe0ed413835ca23b9ae9e98
authormalc <moosotc@gmail.com>
Sat, 27 Oct 2018 08:42:59 +0000 (27 11:42 +0300)
committermalc <moosotc@gmail.com>
Sat, 27 Oct 2018 08:42:59 +0000 (27 11:42 +0300)
treedcfa98aab4fdec103e40e9de4b3e8be4e2cbdbf5
parent2c4e8fefefbf314591ebb225a737936139cd8ad7
Sync with upstream

This allows fitz to work (again) with humongous images, plus makes it
spew out warning when it can't.

diff --git a/source/fitz/draw-affine.c b/source/fitz/draw-affine.c
index 04f02f83e..5cf7adf7d 100644
--- a/source/fitz/draw-affine.c
+++ b/source/fitz/draw-affine.c
@@ -6,7 +6,7 @@
 #include <assert.h>

 /* Number of fraction bits for fixed point math */
-#define PREC 14
+#define PREC 12
 #define MASK ((1<<PREC)-1)
 #define ONE (1<<PREC)
 #define HALF (1<<(PREC-1))
misc/getmupdf.sh