[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
Thu Feb 6 02:58:13 PST 2014


Carlos Garcia Campos <carlosgc at gnome.org> writes:

> 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?

I've run the tests again and all diffs are black images, so no
regressions, I just need to rebaseline my refs. 

>
> -- 
> Carlos Garcia Campos
> PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

-- 
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/20140206/92b2f768/attachment.pgp>


More information about the poppler mailing list