Page 1 of 1

bitmap fonts, how?

Posted: 29 Nov 2005 16:01
by sonium
I try to creating a bitmap font, but don't have success. How do I specify the hight/width of the characters? In what order do they have to be?

Posted: 29 Nov 2005 19:32
by AsMaX
Hi,
the format of the bitmap is the same as the one of text.bmp in winamp 2 skins (or numbers.bmp for a "digits" font)
(see http://www.winamp.com/nsdn/winamp/skinn ... c/main.php)
As long as you respect this layout, the size of the characters doesn't matter.

Posted: 30 Nov 2005 01:23
by sonium
does this mean I have to use exactly the same dimension than the winamp2 bitmap?

Posted: 30 Nov 2005 11:33
by sonium
ok, I found a True Type Font that fits my needs. But is there a way to change the color? (Not on Playlist but on the main display)

Posted: 30 Nov 2005 14:42
by ipkiss
The Text control has a 'color' attribute (it's not a characteristic of the font itself, you may want to reuse the same font in different places, with different colors).

Posted: 30 Nov 2005 23:13
by AsMaX
By the way as for bitamp fonts I thought I had implemented something more generic, but in fact you are right the image must have exactly the same dimension as in winamp skins.