summaryrefslogtreecommitdiff
path: root/source/fitz/test-device.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-09-08 11:22:23 +0100
committerRobin Watts <robin.watts@artifex.com>2014-09-08 12:20:30 +0100
commitf8eb384499f5b89e90cbbea961ba073536c49bc5 (patch)
tree091717ba21f2872981943cba43ba3000da8e50cd /source/fitz/test-device.c
parent67360bffed2570dc7daf9ce1cf9febc3495e8f2a (diff)
downloadmupdf-f8eb384499f5b89e90cbbea961ba073536c49bc5.tar.xz
Add option for vertical scrolling support in Android App.
A potential customer (currently a free user) contacted us asking that MuPDF be extended to support vertical scrolling rather than horizontal scrolling. He supplied a partially working patch. We reviewed his patch, and found the bit he'd missed, which he added and it now works for his purposes. We also spotted some places where his patch is incorrect in general though (and will go wrong for cases where PDF files have varying page sizes). This is a commit of a correct version. ReaderView gains a HORIZONTAL_SCROLLING boolean that is set to true currently to maintain the normal behaviour. Change it to false and we will scroll vertically instead. Possibly we could add a button to allow this to be a runtime option, but that's a future enhancement.
Diffstat (limited to 'source/fitz/test-device.c')
0 files changed, 0 insertions, 0 deletions