groff
[Top][All Lists]
Advanced

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

Re: [Groff] Sun OS 5.6 / Groff 1.14


From: Ted Harding
Subject: Re: [Groff] Sun OS 5.6 / Groff 1.14
Date: Tue, 11 Apr 2000 10:32:39 +0100 (BST)

On 11-Apr-00 Christian Jensen wrote:
> On Mon, 10 Apr 2000, Jude Gabaldon wrote:
> 
>> I started out having problems with groff not printing PS pictures with
>> the .PSPIC pic.epsi on Sun OS 5.6.  So I figured I would upgrade to a
>> newer
> 
> I have the same problem on a Solaris 7 system running Groff 1.16. It
> seems that if the bounding box in the EPS file contains any value that
> is 0 or negative the picture is rejected. I don't know if this is a
> known bug (or feature;)), since I am fairly new to this list.
> 
> The only fix I know is changing the BoundingBox comment in the EPS
> file.
> 
> Christian Jensen

I have no explanation for this.

Negative BoundingBox coordinates are legal in PostScript, and reading
the code for the macro .PSPIC (see tmac.pspic) indicates that it should
handle negative coordinates without problems.

I then tried with the following code:

file BBtest.ps
==============
%!PS-Adobe-3.0
%%BoundingBox: -100 -100 100 100
newpath
-100 -100 moveto 200 0 rlineto 0 200 rlineto -200 0 rlineto 0 -200 rlineto
closepath fill
showpage


file testBB.tr
==============
.LP
.PSPIC BBtest.ps


and got the filled square where it should be (using ms macros).

Hmmm. (But then I'm not using Solaris ... ).
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Date: 11-Apr-00                                       Time: 10:32:38

"Please, at what time does the station leave this train?"
Albert Einstein (allegedly).
------------------------------ XFMail ------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]