GNOME Bugzilla – Bug 101263
eps should be created without LC_NUMERIC settings...
Last modified: 2003-04-28 14:53:02 UTC
Hello, There is no tag for 1.3.10-devel, so I selected unspecified. I tryed to work with gimp created eps files. That didn't work, because gs (ghoscript version 7.05) tells me: Error: /undefined in 0,000000 And that's really wrong, it should be 0.000000 (note a '.' instead of a ','). When I now start gimp with LC_NUMERIC=C everything works fine. My conclusion: eps should be created without using the LC_NUMERIC or LC_LOCALE setttings. It would be fine if you could work on that and send me a patch for 1.3.10. Thanks, Martin
I can reproduce this bug using 1.3.10 running on RedHat Linux 8.0. Example: $ LANG=da_DK gimp-1.3 ... opening an image and exporting to .eps gives invalid postscript file.
Instead of changing the environment, the plug-in should be changed to use the locale-independant functions g_ascii_dtostr() and g_ascii_formatd() from glib-2.0.
Created attachment 13039 [details] [review] Proposed patch
Fixed in CVS: 2002-12-16 Michael Natterer <mitch@gimp.org> * plug-ins/common/ps.c (save_ps_setup): applied a patch from Henrik Brix Andersen <brix@gimp.org> which fixes bug #101263.
*** Bug 111746 has been marked as a duplicate of this bug. ***