Nick Craig-Wood wrote:
I figured it out eventually. a) The v1 fonts are named differently to the v2 fonts. b) The v1 display is only 16 pixels high as compared to 32 The following patch brings the v1 slimserver back to life. I suspect that for chars > 256 the original code is broken too, so maybe this patch should go upstream? The small fonts in particular aren't as good as the hand made ones Debian can't distribute though - rendering an 8x8 non-antialiased font is very hard.
Attached is a new version of /usr/share/perl5/SlimServer/Slim/Display/Graphics.pm which incorporates your patch, and some more stuff which gives access to GD's built-in fixed width fonts. If you define GDFixedfont, GDFixedbase and GDWidth in the hash for a font, then the fixed font will be used in preference to the TTF one. Available fonts are gdSmallFont, gdMediumBoldFont, gdTinyFont, gdLargeFont and gdGiantFont.
The results on a Squeezebox 2/3 are subjectively not as good as TTF vera, but on a SB1 this might be a better solution, at least for small fonts. Please could you try and find a set of good parameters (font, width and base) that looks reasonably nice? I don't have SB1 to experiment with.
Cheers, Simon.
Graphics.pm
Description: Perl program

