PDA

View Full Version : modified sbg large font



Phillip Kerman
2004-08-28, 19:21
Sweet. So the fonts are just grabbed off a BMP eh?

Is there something in slimserver that goes and grabs all the pixel info?

I can't wait for something not so blocky in the "huge" font.

Thanks,
Phillip

> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of bob
> Sent: Saturday, August 28, 2004 7:12 PM
> To: discuss (AT) lists (DOT) slimdevices.com
> Subject: [slim] modified sbg large font
>
> I down-bolded the stock large font and left the extra width
> as whitespace.
> Just did the alphanums & some of the punctuation, and remade
> a few letters
> from scratch I find it a bit easier to read from across the
> room, so if
> anyone
> would like to give it a try, it's at:
>
> http://www.mylefteye.com/newlarge.2.font.bmp
>
> To install under linux, I just:
>
> cd /usr/local/slimserver/Graphics
> cp large.2.font.bmp large.bak
> cp /DownloadPath/newlarge.2.font.bmp large.2.font.bmp
> /etc/init.d/slimserver restart
>
> I also wrote a simple ttf -> SBG font convertor, which seems
> to produce
> properly formatted 1-bit BMPs, but slimserver hangs when I
> install them.
> So, that may be a while yet. Probably a bug in the BMP
> header -- if I open
> them in photoshop and resave them, the filesize changes ever so
> slightly, and
> then they work fine. Hmm... Here's (working) Tahoma 12pt
> bold, SBGified:
>
> http://www.mylefteye.com/tahomalarge.2.font.bmp
>
> Looks pretty good, except for the thin legs on chars like M and N.
>
> Anyway, I'll try to fix the (win32) convertor early next week.
>
> -bob
>

kdf
2004-08-28, 20:03
Quoting Phillip Kerman <lists (AT) phillipkerman (DOT) com>:

> Sweet. So the fonts are just grabbed off a BMP eh?
>
> Is there something in slimserver that goes and grabs all the pixel info?
>
Slim::Display::Graphics.pm

ideally, eventual design could read and add fonts from the Graphics dir, instead
of just reading the hardcoded file names that it does now.

-kdf