bug-a2ps
[Top][All Lists]
Advanced

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

Locale problem (a2ps 4.13b)


From: Andrzej Radecki
Subject: Locale problem (a2ps 4.13b)
Date: Sun, 9 Dec 2001 13:31:04 +0100
User-agent: Mutt/1.3.19i

Hi,

I don't know if it's a known problem or not - the locale settings affect
the postscript generation process. E.g. when the decimal separator is set
to a different value than "." then such a value is used in a newly created
postscript files. Of course, the solution is to set "LC_ALL" to "C" but
in my opinion locale settings should not influence that.

An example output of ghostscript:

Error: /undefined in 15,000000
Operand stack:
   th
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--  
 2   %stopped_push   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:995/1123(ro)(G)--   --dict:0/20(G)--   --dict:67/200(L)--   
--dict:60/200(L)--
Current allocation mode is local
Last OS error: 2
AFPL Ghostscript 7.00: Unrecoverable error, exit code 1

and corresponding part of the created postscript file:

% Initialize page description variables.
/sh 595 def
/sw 842 def
/llx 24 def
/urx 818 def
/ury 571 def
/lly 24 def
/#copies 1 def
/th 15,000000 def
/fnfs 11 def
/bfs 8,005733 def
/cw 4,803440 def

and finally my locale settings:

[and ~]$ locale
LANG=pl_PL
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=pl_PL

Best regards,
Andrzej

-- 
Andrzej Radecki ---------- <address@hidden>
http://www.wpk.p.lodz.pl/~radecki --------- o mnie
http://newsy.media-com.com.pl - kompresowane newsy



reply via email to

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