Changeset 4211
- Timestamp:
- 2003-05-01T10:59:34+12:00 (21 years ago)
- Location:
- trunk/gsdl/bin/script/gimp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gimp/flash_button-1.2.pl
r4198 r4211 221 221 222 222 my $y_offset = ($height-$textheight)-int($fontsize/5); 223 if ($text =~ /[gjpqyJ]/) { ## capital J is a descender in lucida font 223 224 225 # my $halfdescenders = ""; 226 # russian half descenders (KOI8-R) 227 # $halfdescenders .= chr(195) . chr(253); # Checked 228 # $halfdescenders .= chr(196) . chr(198) . chr(221) . chr(227) . chr(228); # Unchecked 229 230 # if ($text =~ /[$halfdescenders]/) { 231 # half descenders - put text at fontsize/10 pixels above bottom 232 # $y_offset = ($height-$textheight)-int($fontsize/10); 233 # } 234 235 my $descenders = ""; 236 # russian descenders (KOI8-R) 237 # $descenders .= chr(210) . chr(213); 238 239 if ($text =~ /[gjpqyJ$descenders]/) { ## capital J is a descender in lucida font 224 240 # descenders - put text at bottom of image, otherwise 225 241 # go for fontsize/5 pixels above bottom. This is kind of hacky -
trunk/gsdl/bin/script/gimp/green_bar-1.2.pl
r2634 r4211 204 204 my $y_offset = ($height-$textheight)-int($fontsize/5); 205 205 206 # my $halfdescenders = ""; 207 # russian half descenders (KOI8-R) 208 # $halfdescenders .= chr(195) . chr(253); # Checked 209 # $halfdescenders .= chr(196) . chr(198) . chr(221) . chr(227) . chr(228); # Unchecked 210 211 # if ($text =~ /[$halfdescenders]/) { 212 # half descenders - put text at fontsize/10 pixels above bottom 213 # $y_offset = ($height-$textheight)-int($fontsize/10); 214 # } 215 206 216 my $descenders = ""; 207 208 217 # russian descenders (KOI8-R) 209 # $descenders .= chr(0xD2); 210 # $descenders .= chr(0xD5); 218 # $descenders .= chr(210) . chr(213); 211 219 212 220 if ($text =~ /[gjpqyJ$descenders]/) { ## capital J is a descender in lucida font
Note:
See TracChangeset
for help on using the changeset viewer.