9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] page bug?
Date: Sun, 15 May 2005 10:27:00 +0100	[thread overview]
Message-ID: <a40707e406e72a344225b4b442632dd1@hamnavoe.com> (raw)
In-Reply-To: <5c8e6f411c963b28faead495b9383df8@www2.mail.post.cz>

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



  reply	other threads:[~2005-05-15  9:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18 14:23 pac7
2005-05-15  9:27 ` Richard Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-08-11 20:27 [9fans] 'page' bug? Russ Cox
2000-08-11 19:57 D. Brownlee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a40707e406e72a344225b4b442632dd1@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).