GNOME Bugzilla – Bug 144737
Printing with german locale (de_DE@euro) fails
Last modified: 2004-06-21 11:27:47 UTC
export LANG=de_DE@euro gimp-2.0 Print any image to a file (just for better debugging); Otherwise gs, acting as a print-filter quits with an error-message. For my example-image a ps-file with the header attached below [1] is created. As I found out the problem is the german decimal-separator ',' in the 'scale'-line. It should be a '.'. If you do the above steps with LANG=C, the 'scale'-line uses '.' by default. You might wonder, why I used Gimp-Print 4.3.3. This was the one supplied with my distro and has worked well with gimp 1.4.x. The problem above occurs with the recent stable Gimp-Print 4.2.6, too. [1] The mentioned PS-Header %!PS-Adobe-3.0 %%Creator: Print plug-in V4.2 for GIMP/Gimp-Print 4.3.3 (14 Jul 2002) %%CreationDate: Sun Jun 20 21:22:22 2004 %%BoundingBox: 152 403 440 717 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%Pages: 1 %%Orientation: Portrait %%EndComments %Copyright: 1997-2000 by Michael Sweet (mike@easysw.com) and Robert Krawitz (rlk@alum.mit.edu) %%EndProlog %%Page: 1 1 gsave 152 717 translate 0,189 0,188 scale /DeviceRGB setcolorspace [...]
This is fixed in newer releases of gimp-print. *** This bug has been marked as a duplicate of 111746 ***