bug-groff
[Top][All Lists]
Advanced

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

`groff -mm -rO=1.0i hello.mm' produces an bad/broken .ps file


From: Ronald F. Guilmette
Subject: `groff -mm -rO=1.0i hello.mm' produces an bad/broken .ps file
Date: Thu, 04 Jan 2001 17:08:17 -0800

Running the command:

        groff -mm -rO=1.0i hello.mm > hello.ps

on an input file (hello.mm) that just contains:

        Hello world

produces an output file (hello.ps) that, when printed or viewed, is
just entirely white with *no* text on it.

The problem seems to be some sort of mishandling of the `-rO=1.0i' option.

At one time, this option worked just fine to set the initial page offset,
but it seems that now, in groff versions 1.15 and 1.16 at least, this
option is broken, and as far as I can tell, there is some sort of a
an internal math error inside of groff that is causing the generated
Postscript file to try to display the `Hello world' text someplace
outside of (and far to the right of?) the actual edge of the visible
page (or something like that).

Here is a diff of two .ps output files made from `hello.mm', both without
and with the -rO=1.0i option:

3c3
< %%CreationDate: Thu Jan  4 16:41:15 2001
- ---
> %%CreationDate: Thu Jan  4 16:41:52 2001
202c202
< /F0 10/address@hidden SF 2.5(-1-)295.006 48 S(Hello w)69.336 96 Q(orld)
- ---
> /F0 10/address@hidden SF 2.5(-1-)720225.67 48 S(Hello w)720000 96 Q(orld)


Hey!  What the heck is that number 720225.67 doing in there??

That number sure looks awfully bogus to me.  But then what do _I_ know?




reply via email to

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