Adrian Johnson <[email protected]> writes:
> commit 45a87afdf1372911aa1ba840557e61627cdc7b4f > Author: Adrian Johnson <[email protected]> > Date: Sun Dec 29 15:16:37 2013 +1030 > > cairo: clip to crop box > > when printing the cairo surface may larger than the crop box > > fixes https://bugzilla.gnome.org/show_bug.cgi?id=649886 > > diff --git a/poppler/CairoOutputDev.h b/poppler/CairoOutputDev.h > index c9ae33d..50fdf7b 100644 > --- a/poppler/CairoOutputDev.h > +++ b/poppler/CairoOutputDev.h > @@ -121,6 +121,10 @@ public: > // text in Type 3 fonts will be drawn with drawChar/drawString. > virtual GBool interpretType3Chars() { return gFalse; } > > + // Does this device need to clip pages to the crop box even when the > + // box is the crop box? > + virtual GBool needClipToCropBox() { return gTrue; } > + > //----- initialization and control I think I tried this and I got several regressions in my test suite, but I didn't have time to look at them in detail :-( Did you check this doesn't introduce regressions? -- Carlos Garcia Campos PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
pgp8AyNQ1DY_x.pgp
Description: PGP signature
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
