Bug 60146 - a2ps outputs invalid postscript if LC_NUMERIC is any locale except C, POSIX or en_*
Summary: a2ps outputs invalid postscript if LC_NUMERIC is any locale except C, POSIX o...
Keywords:
Status: CLOSED DUPLICATE of bug 40532
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: a2ps
Version: 7.2
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-20 22:43 UTC by elias
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-20 22:43:50 UTC
Embargoed:


Attachments (Terms of Use)

Description elias 2002-02-20 22:43:46 UTC
Description of Problem:

a2ps outputs invalid postscript if LC_NUMERIC is any locale except C, POSIX or en_*

This is due to the fact that in most locales except English, American, C and
POSIX, decimal_point is "," and not ".". Postscript, however, always expects


Version-Release number of selected component (if applicable):

a2ps-4.13b-15

How Reproducible:

100%

Steps to Reproduce:
1. export LC_NUMERIC=is_IS
2. echo test|a2ps -o test.ps
3. gs test.ps

Actual Results:

gs test.ps fails. Examination of the postscript code reveals that linux 693
reads thus:

/th 15,000000 def

Expected Results:

line 693 in valid postscript should read like this:

/th 15.000000 def

Additional Information:

Comment 1 Tim Waugh 2002-02-20 23:23:31 UTC

*** This bug has been marked as a duplicate of 40532 ***


Note You need to log in before you can comment on or make changes to this bug.