[poppler] 8 commits - poppler/CairoOutputDev.h poppler/PSOutputDev.cc poppler/PSOutputDev.h qt4/src qt5/src utils/pdftocairo.1 utils/pdftocairo.cc utils/pdftops.1 utils/pdftops.cc

Carlos Garcia Campos carlosgc at gnome.org
Wed Feb 5 11:32:58 PST 2014


Adrian Johnson <ajohnson at kemper.freedesktop.org> writes:


> commit 45a87afdf1372911aa1ba840557e61627cdc7b4f
> Author: Adrian Johnson <ajohnson at redneon.com>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 180 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20140205/13abf1ba/attachment.pgp>


More information about the poppler mailing list