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

cannot create toolbar images



Howdy,

(I had to apply the attached patch to make debbar.pl work at all.)

When I try to create toolbar images for the Slovak translation, it
fails:

 ../../english/Pics/debbar.pl -fontregistry iso8859 -fontencoding 2 -words "O Debiane" -o /home/kraai/projects/debian/webwml/slovak/Pics/about.sk.gif
 debbar.pl: gimp_text: procedural database execution failed at ../../english/Pics/debbar.pl line 30 (DIE)
 make: *** [about.sk.gif] Error 255

Could someone help me make this work?

-- 
Matt
Index: debbar.pl
===================================================================
RCS file: /cvs/webwml/webwml/english/Pics/debbar.pl,v
retrieving revision 1.14
diff -u -r1.14 debbar.pl
--- debbar.pl	29 Jul 2001 22:25:37 -0000	1.14
+++ debbar.pl	20 Nov 2004 01:44:42 -0000
@@ -42,9 +42,9 @@
 	gimp_selection_all($image);
 	gimp_edit_clear($layer);
 
-        gimp_rect_select($image, 9, 0, $width, $height, REPLACE, 0, 0);
-	gimp_ellipse_select($image, (9-($height/2)), 0, $height, $height, ADD, 0, 0, 0);
-	gimp_ellipse_select($image, ((9+$width) - ($height/2)), 0, $height, $height, ADD, 0,0,0);
+        gimp_rect_select($image, 9, 0, $width, $height, 'REPLACE', 0, 0);
+	gimp_ellipse_select($image, (9-($height/2)), 0, $height, $height, 'ADD', 0, 0, 0);
+	gimp_ellipse_select($image, ((9+$width) - ($height/2)), 0, $height, $height, 'ADD', 0,0,0);
 	gimp_bucket_fill($layer, BG_BUCKET_FILL, NORMAL_MODE, 100, 0, 0, 5, 5);
 	gimp_selection_none($image);
 

Reply to: