Nick Craig-Wood wrote:
It is something to do with the fonts...
The font images as supplied are all too small. If you look at them in
an image viewer you'll see they only have the symbols in.
$ file /usr/share/slimserver/Graphics/high.2.font.bmp
/usr/share/slimserver/Graphics/high.2.font.bmp: PC bitmap data, Windows 3.x
format, 170 x 33 x 1
Whereas they should be this wide (I got this file from the slimdevices
distribution). This contains the alphabet too.
$ file /usr/share/slimserver/Graphics/high.2.font.bmp
/usr/share/slimserver/Graphics/high.2.font.bmp: PC bitmap data, Windows 3.x
format, 1970 x 33 x 1
I replaced all the font files with the ones from the slimserver
distribution and deleted /var/lib/slimserver/fontcache and restarted
the server.
It still doesn't work properly but there is at least a ? instead of
each character now!
I can't figure out what to try next though..
OK, you're in a better position than me, since I don't have access to a
V1 Squeezebox. The small fonts are deliberate: the rest of those fonts
are not distributable by Debian for copyright reasons. The original
slimserver code uses the bitmap fonts for glyphs < 256 and then switches
to a TrueType font for the rest. The Debian modification removes glyphs
> 32 from the bitmap font, and switches to the TrueType font for
anything above 32, rather than 256.
Given the symptoms, I suspect that something is going wrong with the TT
font handling stuff. Your '?' characters are probably being generated by
this code
# We don't handle anything outside ISO-8859-1
# right now in our non-TTF bitmaps.
if ($ord > 31) {
$ord = 63; # 63 == '?'
}
in sub string in /usr/share/perl5/SlimServer/Slim/Display/Graphics.pm,
which implies useTTF or useTTFNow are not set.
If you can work out what's going on in that routine, you have probably
solved the problem.
Cheers,
Simon.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]