bug-groff
[Top][All Lists]
Advanced

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

problem with PIC's fill


From: Michal Wojciechowski
Subject: problem with PIC's fill
Date: 12 Mar 2003 17:28:40 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hello,

I've found out that using PIC's "fill" directive (as in the example
below) causes groff to produce an incorrect PostScript file. An
attempt to view the file with gv results in an error.

I discovered that groff outputs the fill parameter incorrectly - it
puts a comma in the place of the decimal point (for example, "0,5000"
instead of "0.5000"). I suspected that this was somehow related to
locale settings (does groff rely on those?). My LC_NUMERIC was set to
"pl_PL", when I changed it to "en_US" the problem was gone.

As a workaround, I change LC_NUMERIC to "en_US" everytime I use groff.


GROFF VERSION: 
Checked 1.17.2 (Debian package) and 1.18.1 (compiled manually)

MACHINE:
i686

OS:
Linux 2.4.17

COMPILER:
gcc version 2.95.4

INPUT FILES:
Example PIC file:
.PS
box fill
.PE

COMMAND LINE:
groff -p a.pic > a.ps

DESCRIPTION OF INCORRECT BEHAVIOUR:
The result PostScript file causes an error when attempting to view
with gv.


Regards,

-- 
/* Michal Wojciechowski      odyniec_at_odyniec.fdns.net *
 * http://odyniec.fdns.net/                              */





reply via email to

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