Changeset 4198
- Timestamp:
- 2003-04-30T13:48:38+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gimp/flash_button-1.2.pl
r3211 r4198 53 53 my ($cfg_file, $width, $height, $text, $filenamestem, $fixed_width, 54 54 $width_space, $whitespace, $dont_center, $bgcolor, $fontcolor, 55 $fontsize, $font name, $fontweight, $fontslant, $fontwidth,55 $fontsize, $fontfoundry, $fontname, $fontweight, $fontslant, $fontwidth, 56 56 $fontspacing, $fontregistry, $fontencoding, $image_dir); 57 57 … … 81 81 print STDERR " -fontcolor hex_value text color [$black]\n"; 82 82 print STDERR " -fontsize number font point size [10]\n"; 83 print STDERR " -foundry string [*]\n"; 83 84 print STDERR " -fontname string [lucida]\n"; 84 85 print STDERR " -fontweight string [medium]\n"; … … 103 104 $fontcolor = $black; 104 105 $fontsize = 10; 106 $fontfoundry = "*"; 105 107 $fontname = "lucida"; 106 108 $fontweight = "medium"; … … 128 130 "fontcolor/#[0-9A-Fa-f]{6}/$black", \$fontcolor, 129 131 'fontsize/^\d+$/10', \$fontsize, 132 'foundry/.*/*', \$fontfoundry, 130 133 'fontname/.*/lucida', \$fontname, 131 134 'fontweight/.*/medium', \$fontweight, … … 185 188 186 189 my $textlayer = gimp_text ($image, $backlayer, 0, 0, $text, 0, 1, 187 $fontsize, PIXELS, "*", $fontname, $fontweight,190 $fontsize, PIXELS, $fontfoundry, $fontname, $fontweight, 188 191 $fontslant, $fontwidth, $fontspacing, $fontregistry, $fontencoding); 189 190 192 191 193 my $textwidth = gimp_drawable_width($textlayer); … … 213 215 ($image, $backlayer) = &create_image ($off_img); 214 216 $textlayer = gimp_text ($image, $backlayer, 0, 0, $text, 0, 1, 215 $fontsize, PIXELS, "*", $fontname, $fontweight,217 $fontsize, PIXELS, $fontfoundry, $fontname, $fontweight, 216 218 $fontslant, $fontwidth, $fontspacing, $fontregistry, $fontencoding); 217 219
Note:
See TracChangeset
for help on using the changeset viewer.