Nick Craig-Wood wrote:
On Wed, Jul 19, 2006 at 09:46:44AM +0100, Simon Kelley wrote:
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.
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
Excellent! many thanks.
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?
Agreed, I'll send it.
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.
Hmm, from "man gd":
"There are four built-in monospaced fonts, available in the global
variables gdGiant-Font, gdLargeFont, gdMediumBoldFont, gdSmallFont and
gdTinyFont."
I wonder if creative use of those would help? I do some playing.
Would it be possible for the package to download these fonts in a
similar way to the firmware?
It would, but it has the disadvantage that use of the package becomes
entirely dependent on having succesfully contacted Slim Devices's svn
server. It is possible to use the current packages without access to
SlimDevices, provided that the device firmware is already sufficiently
up to date.
Thanks again for you work: I'll do a release soon.
Cheers,
Simon
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]