lib/pdf: make startPage() upstream compatible
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Tue, 8 Jun 2010 22:23:51 +0000 (22:23 +0000)
committerAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Tue, 8 Jun 2010 22:23:51 +0000 (22:23 +0000)
commit20f395856f21739e79eeab275beec7a3d133d568
tree802a68f91a51a24b6fc4f44aac83a141233bca10
parentc63b2bf21dc1df9a736f0b4c08f6cba828cdab92
lib/pdf: make startPage() upstream compatible

Make startPage() obtain the needed cropBox through the Page instance,
supplied by the always preseeding checkPageSlice() call.

This patch makes startPage() compatible with both upstream xpdf and
poppler.

Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
14 files changed:
lib/pdf/BitmapOutputDev.cc
lib/pdf/BitmapOutputDev.h
lib/pdf/CommonOutputDev.h
lib/pdf/DummyOutputDev.cc
lib/pdf/DummyOutputDev.h
lib/pdf/FullBitmapOutputDev.cc
lib/pdf/FullBitmapOutputDev.h
lib/pdf/GFXOutputDev.cc
lib/pdf/GFXOutputDev.h
lib/pdf/InfoOutputDev.cc
lib/pdf/InfoOutputDev.h
lib/pdf/XMLOutputDev.cc
lib/pdf/XMLOutputDev.h
lib/pdf/xpdf-changes.patch