[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#405685: pdfcrop: does not work correctly for one of my pdf file



reassign 405685 gs-esp
found 405685 8.15.3.dfsg.1-1
thanks

"LI Daobing" <lidaobing@gmail.com> wrote:

> Hi
>
> On 1/6/07, Norbert Preining <preining@logic.at> wrote:
>> Hi Li!
>>
>> No attachment found. Please send them again.
> sorry about it, now it should be OK

Thank you.  I can reproduce it.  It's essentially a bug in Ghostscript
which pdfcrop calls to get the bounding box information.

On etch, 

root@riesling:/# gs-gpl -sDEVICE=bbox -dBATCH -dNOPAUSE -sPAPERSIZE=a3 -c save pop -f 1.pdf 1>/dev/null
%%BoundingBox: 64 56 708 509
%%HiResBoundingBox: 64.980561 56.699506 707.185455 508.914406
root@riesling:/# gs-esp -sDEVICE=bbox -dBATCH -dNOPAUSE -sPAPERSIZE=a3 -c save pop -f 1.pdf 1>/dev/null
%%BoundingBox: 86 64 539 708
%%HiResBoundingBox: 86.075505 64.980490 538.308546 707.185525

It's the same in sid.  The bounding box that gs-esp produces seems to be
portrait when it should be landscape, at least approximately.

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: