bitmap fonts, how?

About usage, announcement and development of skins for VLC
sonium
New Cone
New Cone
Posts: 3
Joined: 29 Nov 2005 15:59

bitmap fonts, how?

Postby sonium » 29 Nov 2005 16:01

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?

AsMaX
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 05 Mar 2004 09:00
Location: Antibes, France

Postby AsMaX » 29 Nov 2005 19:32

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.

sonium
New Cone
New Cone
Posts: 3
Joined: 29 Nov 2005 15:59

Postby sonium » 30 Nov 2005 01:23

does this mean I have to use exactly the same dimension than the winamp2 bitmap?

sonium
New Cone
New Cone
Posts: 3
Joined: 29 Nov 2005 15:59

Postby sonium » 30 Nov 2005 11:33

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)

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 30 Nov 2005 14:42

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).

AsMaX
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 05 Mar 2004 09:00
Location: Antibes, France

Postby AsMaX » 30 Nov 2005 23:13

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.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 57 guests

cron