Re: [Gnome-print] [PATCH] use "." as fraction separator independently of locale settings

The patch looks, but why do we want to switch between locales every time
gnome_print_pdf_write is called. Is there a reason not to switch locales
at the beginning of the printing and then set it back when we are done 
(or when an error is encountered) ?

The real solution to this is to have a set of g_strdup's function
that will use numeric locale all the time. 


Vlad Harchev wrote:
>  Hi,
>  Here is a patch against 0.25 that forces pdf generator to use "." as fraction
> seprarator, independant of the locale's settings (e.g., under russian locales
> fraction separator is comma). Of course, .pdf that use anything but dot as
> fraction seprator can't be opened by any .pdf reader out there.
>  It would be nice if this patch went into gnome-print shipped with
> gnome-1.4 - what do you think?
>  Best regards,
>   -Vlad
>   ------------------------------------------------------------------------
>                                Name: gnome-print-pdf-i18n-fix
>    gnome-print-pdf-i18n-fix    Type: Plain Text (TEXT/PLAIN)
>                            Encoding: BASE64

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