[poppler] cropBox can not be bigger than mediaBox
martin at oneiros.de
Sun Dec 11 17:30:25 PST 2005
On 2005-12-11 21:17:37 +0100, Albert Astals Cid wrote:
> Agree to commit?
+ if (cropBox.x2 - cropBox.x1 > mediaBox.x2 - mediaBox.x1 ||
+ cropBox.y2 - cropBox.y1 > mediaBox.y2 - mediaBox.y1)
+ cropBox = mediaBox;
Btw: The || is probably false, as you loose both dimensions when
at least one is false -- and the other might be right.
More information about the poppler