Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 21:35:21 +0100 (CET)
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/26036: i18n comma vs period decimal separator mistake
Message-ID:  <200103232035.f2NKZLn06272@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

>Number:         26036
>Category:       bin
>Synopsis:       acroread4 produces invalid postscript in Danish locale
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 23 12:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Mar 23 12:01:40 CET 2001 root@critter.freebsd.dk:/freebsd/src/sys/compile/FLUTTER i386

>Description:

	set in your environment:

		LANG=da_DK.ISO_8859-1

	Then use the acroread-4.05 port to print to a postscript file
	and notice how all decimal numbers are separated with a ',' 
	instead of a '.'

	This is not valid in postscript code.

	LANG=da_DK.ISO_8859-1 results in:

		dup /WhitePoint [0,9642 1,0000 0,8249] put]

	no LANG setting results in the correct:

		dup /WhitePoint [0.9642 1.0000 0.8249] put]

	I am unable to determine if this bug is in acroread or in
	our i18n.  Given what is the easier to get changed I think
	it obvious where the problem should be fixed.

	It used to work until very recently.

>How-To-Repeat:
	see above.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103232035.f2NKZLn06272>