Index: Slim/Plugin/Snow/Plugin.pm =================================================================== --- Slim/Plugin/Snow/Plugin.pm (revision 23267) +++ Slim/Plugin/Snow/Plugin.pm (working copy) @@ -582,33 +582,33 @@ ); our %letters = ( - A => [3, [2], [], [0,4], [0,2,4], [], [0,4] ], - B => [3, [0,2], [4], [0,2], [0], [4], [0,2] ], - C => [3, [2,4], [1], [], [1], [], [2,4] ], - D => [3, [0,2], [4], [0], [0,4], [], [0,2] ], - E => [3, [0,2,4], [], [0,2], [0], [], [0,2,4] ], - F => [3, [0,2,4], [], [0], [0,2], [], [0] ], - G => [3, [2,4], [1], [], [1,4], [], [2,4] ], - H => [3, [0,4], [], [0,2,4], [0,4], [], [0,4] ], + A => [2, [1], [], [0,2], [0,1,2], [], [0,2] ], + B => [2, [0,1], [0,2], [0,2], [0], [2], [0,1] ], + C => [2, [1,2], [0], [], [0], [], [1,2] ], + D => [2, [0,1], [2], [0], [0,2], [], [0,1] ], + E => [2, [0,1,2], [], [0,1], [0], [], [0,1,2] ], + F => [2, [0,1,2], [], [0], [0,1], [], [0] ], + G => [2, [1,2], [1], [], [1,2], [], [1,2] ], + H => [2, [0,2], [], [0,1,2], [0,2], [], [0,2] ], I => [1, [0], [], [0], [0], [], [0] ], - J => [3, [0,2,4], [], [2], [2], [0], [1,2] ], - K => [3, [0,4], [], [0,2], [0,3], [], [0,4] ], - L => [3, [0], [], [0], [0], [], [0,2,4] ], - M => [4, [0,6], [2,4], [0,3,6], [0,6], [], [0,6] ], - N => [3, [0,4], [], [0,2,4], [0,3,4], [], [0,4] ], - O => [3, [2], [], [0,4], [0,4], [], [2] ], - P => [3, [0,2], [], [0,4], [0,2], [], [0] ], - Q => [3, [2], [], [0,4], [0,4], [], [2,5] ], - R => [3, [0,2], [], [0,4], [0,2], [], [0,4] ], - S => [3, [2,4], [1], [2], [4], [], [1,3] ], - T => [3, [0,2,4], [], [2], [2], [], [2] ], - U => [4, [0,5], [], [0,5], [0,5], [], [2,3] ], + J => [2, [0,1,2], [], [1], [1], [0], [1,2] ], + K => [2, [0,2], [], [0,1], [0,2], [], [0,2] ], + L => [2, [0], [], [0], [0], [], [0,2,4] ], + M => [3, [0,3], [1,2], [0,1,3], [0,3], [], [0,3] ], + N => [3, [0,3], [], [1,3], [0,2], [], [0,3] ], + O => [2, [1], [], [0,2], [0,2], [], [1] ], + P => [2, [0,1], [], [0,2], [0,1], [], [0] ], + Q => [2, [1], [], [0,2], [0,2], [], [1,2] ], + R => [2, [0,1], [], [0,2], [0,1], [], [0,2] ], + S => [2, [1,2], [0], [1], [2], [2], [0,1] ], + T => [2, [0,1,2], [], [1], [1], [], [1] ], + U => [2, [0,2], [], [0,2], [0,2], [], [0,1] ], #V => [4, [0,6], [], [1,5], [2,4], [], [3] ], - V => [3, [0,4], [], [0,4], [1,3], [], [2] ], - W => [3, [0,4], [], [0,2,4], [0,2,4], [], [1,3] ], - X => [3, [0,4], [], [1,3], [2,4], [], [0,5] ], - Y => [3, [0,4], [], [1,3], [2], [], [2] ], - Z => [3, [0,2,4], [], [3], [2], [], [0,2,4] ], + V => [2, [0,2], [], [0,2], [0,2], [], [1] ], + W => [3, [0,3], [], [0,3], [0,1,3], [], [1,2] ], + X => [2, [0,2], [0,2], [1], [0,2], [], [0,2] ], + Y => [2, [0,2], [], [1], [1], [], [1] ], + Z => [2, [0,1,2], [], [2], [1], [], [0,1,2] ], ' ' => [0, [], [], [], [], [], [] ], '!' => [1, [0], [], [0], [], [], [0] ], ); @@ -791,9 +791,9 @@ my $col; my $totallen = -1; - map {$totallen += @{$letters{$_}}[0] + 1} (split //, $word); + map {$totallen += @{$letters{$_}}[0]} (split //, $word); - my $startcol = 2 * int((40 - $totallen) / 2); + my $startcol = 1 * int((20 - $totallen) / 2); # Wipe out any falling snow under the letters foreach $row (0..1) { @@ -830,7 +830,7 @@ } } } - $startcol += $charwidth * 2 + 2; + $startcol += $charwidth * 2; } return $paintedSomething;