bug-oleo
[Top][All Lists]
Advanced

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

address@hidden: oleo/1946: Subject: PostScript output / internationaliza


From: Jeff Bailey
Subject: address@hidden: oleo/1946: Subject: PostScript output / internationalization]
Date: Sun, 3 Dec 2000 10:13:18 -0800

Danny, are you setup for gnats to receive these?

----- Forwarded message from Jean-Jacques Sarton <address@hidden> -----

Received: from fencepost.gnu.org (address@hidden [199.232.76.164]) by 
sparky.nisa.net (8.9.3/nisa4.7) with ESMTP id HAA15860 for <address@hidden>; 
Sun, 3 Dec 2000 07:05:02 -0800
X-MailHub: mail.nisa.net
Received: from gnats by fencepost.gnu.org with local (Exim 3.16 #1 (Debian))
        id 142ahJ-0000yn-00; Sun, 03 Dec 2000 10:05:01 -0500
From: address@hidden (Jean-Jacques Sarton)
To: address@hidden, address@hidden
Reply-To: address@hidden (Jean-Jacques Sarton)
Subject: oleo/1946: Subject: PostScript output / internationalization
Message-Id: <address@hidden>
Sender: Gnats Bug-Reporting System (admin) <address@hidden>
Date: Sun, 03 Dec 2000 10:05:01 -0500

>Number:         1946
>Category:       oleo
>Synopsis:       Error while creating PostScript
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    jbailey
>State:          open
>Quarter:        
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Sun Dec 03 10:05:01 -0500 2000
>Cases:          
>Originator:     
>Release:        oleo-1.99.14
>Environment:
        PC, Linux , Linux, libraries glibc6 
System: Linux pc1 2.2.14 #1 Mon Mar 13 10:51:48 GMT 2000 i586 unknown
Architecture: i586

Build CFLAGS: -I/usr/dt/include -I/usr/X11R6/include -g -O2
Build CC: gcc

>Description:
        The produced PostScript file contain ',' instread of '.'.
        This is due to a bad handling of the locale.

        The input fields don4t accept the ',' character as 
        decimal point. A little test program show that the locale
        handlig work as expected.

>How-To-Repeat:
        Set the environment (locale) LC_... to de_DE print into a PostScript
        file.

>Fix:
insert in postscript.c PostScriptField():
           
           char *oldLocale = setlocale(LC_ALL, NULL);
           at the beginnig and
           setlocale(LC_ALL, oldLocale);
           at the end.

        insert also #include <locale.h> at the beginning of file


        For the correct handling of input fields, I don4t have
        found the part which has to be modified.

        saving/exporting/reading/importing of files may also
        be a problem. 

Regards,

Jean-Jacqzes

----- End forwarded message -----

-- 
No matter how big the bell, if you only tap it, it can give out only a
faint sound.  We must understand thoroughly that the weakness of the blow,
not a fault of the bell makes the sound poor. 
 - Koichi Tohei



reply via email to

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