9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 'page' bug?
@ 2000-08-11 19:57 D. Brownlee
  0 siblings, 0 replies; 4+ messages in thread
From: D. Brownlee @ 2000-08-11 19:57 UTC (permalink / raw)
  To: 9fans

If I:

%term cd /sys/doc/8.5 (that's actually 8 and 1/2)
%term page fig1.ps

I can pan with mouse button 1. Mouse button 3, however,
indicates that there is a "next page," which, if selected,
causes the window to hang.

%term cat fig1.ps | grep '[pP]age'

seems to indicate that there is only one page.


There is no PostScript "%%Pages: 1" in fig1.ps.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] page bug?
  2005-03-18 14:23 [9fans] page bug? pac7
@ 2005-05-15  9:27 ` Richard Miller
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Miller @ 2005-05-15  9:27 UTC (permalink / raw)
  To: 9fans

A couple of months ago  Peter Cejchan asked:

> could someone find out why this file
> http://www.gli.cas.cz/home/cejchan/ufiklej.pdf
> appears with cut-off upper margin in page [-P],
> while gs, or pdf2ps treat it OK?

I've managed to sort it out, and a patch has been applied on sources.
There were two problems with the (rare) case of PDF pages with a
CropBox smaller than the page size: Plan 9 images have (0,0) at the
top while PostScript/PDF coordinate space has (0,0) at the bottom, so
the cropped box was being shifted the wrong way; and the CropBox needs
to be rotated when the page is rotated for display.

-- Richard



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] page bug?
@ 2005-03-18 14:23 pac7
  2005-05-15  9:27 ` Richard Miller
  0 siblings, 1 reply; 4+ messages in thread
From: pac7 @ 2005-03-18 14:23 UTC (permalink / raw)
  To: 9fans

hi, folks!

could someone find out why this file
http://www.gli.cas.cz/home/cejchan/ufiklej.pdf
appears with cut-off upper margin in page [-P],
while gs, or pdf2ps treat it OK?

thanks,regards,
++pac.



-- 
Levnější internet v pracovní dny již od 18:00 hod.
Surfujte s VOLNÝ!
http://mimospicku.volny.cz



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] 'page' bug?
@ 2000-08-11 20:27 Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2000-08-11 20:27 UTC (permalink / raw)
  To: 9fans

It's a cross between a page bug and
the fact that you're looking at a non-conforming
postscript document.  Guessing the layout
of such a document is difficult.

Page attempts to handle such things by
feeding the whole postscript through gs and
displaying whatever images it gets, in order,
which is why you get the "this page/next page"
menu rather than the usual one.  It has no idea
if there really is a next page.

Russ



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-15  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-11 19:57 [9fans] 'page' bug? D. Brownlee
2000-08-11 20:27 Russ Cox
2005-03-18 14:23 [9fans] page bug? pac7
2005-05-15  9:27 ` Richard Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).