[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] User Problem with grops's Import.
From: |
Ralph Corderoy |
Subject: |
[Groff] User Problem with grops's Import. |
Date: |
Mon, 27 May 2002 15:22:35 +0100 |
Hi,
I'm trying to use .psbb followed by \X'ps: import...' to scale a
PostScript file to exactly the right size. Ultimately, I wish to place
it exactly as well.
Here's what I'm doing.
$ cat import.ex
.psbb w.epsi
.
.sp 3i
\Z'\h'|0'\X'ps: import w.epsi \n[llx] \n[lly] \n[urx] \n[ury] 72000 72000''
\Z'\h'|0'\D'l 1i -1i''
$ pbmtext 'Hello Ted' | pnmcrop | pnmtops >w.ps
$ ps2epsi w.ps
$ ls -l w.*
-rw-rw-r-- 1 ralph ralph 1011 May 27 15:11 w.epsi
-rw-rw-r-- 1 ralph ralph 532 May 27 15:11 w.ps
$ g Box w.*
w.epsi:%%BoundingBox: 302 357 310 405
w.ps:%%BoundingBox: 301 357 310 405
Note the BoundingBox's are different. I'm not sure if it is my source
epsi file that is the problem.
Anyhow, `groff import.ex >import.ex.ps' shows the image but, using the
diagonal line as a guide, it is less than an inch tall, but wider than
an inch.
Can someone put me out of my misery.
Cheers,
Ralph.
- [Groff] User Problem with grops's Import.,
Ralph Corderoy <=