[cairo] crash report and question

bulia byak buliabyak at gmail.com
Tue Oct 21 08:03:32 PDT 2008


On Tue, Oct 21, 2008 at 8:06 AM, Adrian Johnson <ajohnson at redneon.com> wrote:
> The reason we are not setting %%BoundingBox and %%PageBoundingBox correctly
> is that viewers like Evince and Okular are not using these DSC comments
> correctly. Evince and Okular are using the bounding box as the page size.
>
> What we should be doing is using %%DocumentMedia and %%PageMedia to set the
> page size. But first we need to get these viewers to use the correct DSC
> comments before we change can this. Currently, gv is the only viewer I know
> of that does the right thing.

Interesting. Myself, I always assumed that %%BoundingBox is the page
size (or more precisely, the size and position of the clipping window
on the content, and at the same time the dimensions of the object
which results from embedding the PS/EPS into some other document), and
all software I have used (TeX, for one) seemed to agree. I find it
especially striking that, according to your reading, one cannot have
this clipping window extend beyond content in EPS. Whether you are
right or not in your interpretation of the spec, I think it is an
uphill battle to change the perceptions of the format which is 20
years old (DSC is younger but not by much), and I think you should
take into account and test with a lot more software that just evince
and okular.

By the way, I always assumed that of open source applications,
Ghostscript is the highest authority on all things PS. Does it agree
with your interpretation of DSC comments?

-- 
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org


More information about the cairo mailing list