… | … | ||
---|---|---|---|
253 | $x -= ($W * $s + $spacing * (@c - 1)) * 0.5; | 253 | $x -= ($W * $s + $spacing * (@c - 1)) * 0.5; |
254 | $y -= $height * 0.5; | 254 | $y -= $height * 0.5; |
255 | 255 | ||
256 | for (@c) { | 256 | for (@c) { |
257 | my $w = $_->get_width * $s; | 257 | my $w = $_->get_width * $s; |
258 | # +2 == don't fight the rounding | ||
258 | $_->composite ($pixbuf, | 259 | $_->composite ($pixbuf, |
259 | $x, $y, $w+1, $height+1, $x, $y, $s, $s, | 260 | $x, $y, $w+2, $height+2, $x, $y, $s, $s, |
260 | $::config->{speed} ? INTERP_NEAREST : INTERP_BILINEAR, 255); | 261 | $::config->{speed} ? INTERP_NEAREST : INTERP_BILINEAR, 255); |
261 | 262 | ||
262 | $x += $w + $spacing; | 263 | $x += $w + $spacing; |
263 | } | 264 | } |
264 | } | 265 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |