Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 2nd November 2001, 19:45   #1
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
timer font

I attempted to use a custom font for my new skin and it's not working... is this feature not yet implemented?
mikekantor is offline   Reply With Quote
Old 3rd November 2001, 06:48   #2
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
A truetype font? or a bitmap font?
Naamloos is offline   Reply With Quote
Old 3rd November 2001, 07:23   #3
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
true type font.

I'm interested in bitmap as well... I had an idea that would require a different set of bitmaps for each character in the timer, but I have no clue how to do that, so I'm trying to use just a plain .ttf file.
mikekantor is offline   Reply With Quote
Old 3rd November 2001, 07:44   #4
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
code:

<truetypefont id="myfontid" file="myfont.ttf" />



Use it like that, id = your font id your using
and the file..
Naamloos is offline   Reply With Quote
Old 3rd November 2001, 18:13   #5
Crusher_appa
Junior Member
 
Join Date: Nov 2001
Location: North Carolina
Posts: 22
Send a message via AIM to Crusher_appa
Okay might sound dumb but how do you change the color of the truetypefont?

Relatively new to XML.
Crusher_appa is offline   Reply With Quote
Old 3rd November 2001, 20:42   #6
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
right, I used that font tag (with my font file), but the skin doesn't show the font I selected, instead I see some default one...
mikekantor is offline   Reply With Quote
Old 3rd November 2001, 20:44   #7
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
color="255,0,0" would give you red text when you use it. The three numbers are RGB values.
mikekantor is offline   Reply With Quote
Old 3rd November 2001, 20:50   #8
simarilius
Junior Member
 
Join Date: Oct 2001
Location: UK
Posts: 14
<!-- Timer -->
<text
id="timer"
display="time"
x="75" y="74"
w="50" h="18"
font="chicago" fontsize="16" align="center" timecolonwidth="7"
/>

Is what I have in my skin at the mo, where chicago is a ttf installed in the windows\fonts dir.
seems to work fine
simarilius is offline   Reply With Quote
Old 3rd November 2001, 21:00   #9
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
huh... so you have it in the windows\fonts folder.

I'll try it, but what if I want to package a font with my skin?

And if this is how it works, then what's the point of:

<truetypefont id="myfontid" file="myfont.ttf" />
mikekantor is offline   Reply With Quote
Old 4th November 2001, 04:38   #10
s0be
Major Dude
 
s0be's Avatar
 
Join Date: Jun 2001
Location: melbourne Posts: First
Posts: 1,313
Send a message via ICQ to s0be Send a message via AIM to s0be Send a message via Yahoo to s0be
you can include the font file and refer to it as a relative path. I DON'T think that loading fonts from a zip file are working yet though. If you unzip the skin does the font work?

ALso, you can put FREE, PUBLIC DOMAIN fonts in your skin, but not the ones that come with windows, as those typesets(font is actually the word to refer to the size of the text, improperly used in society today) are copyrighted.

/*
S0Be
*/

And On that day, the Lords of the land said unto their Master Architect, "The temple you have made to the gods of Wasabi and Maki has brought us no great prosperity" and they sent out him into the lands.

As he traveled to a far off land, he found he wasn't traveling alone, but that he had gained companions, and when they found their new land, they started work on a new temple, one that would be OPEN to all who wanted to worship.

from The Book of Wasabi C 12 Vs 09 (pg 2003)
s0be is offline   Reply With Quote
Old 4th November 2001, 04:58   #11
mikekantor
Senior Member
 
mikekantor's Avatar
 
Join Date: Nov 2001
Location: Austin, TX
Posts: 102
Send a message via AIM to mikekantor
well I'm fairly sure that my "typeset" is freeware... but I've only gotten it to work when it's installed with my other fonts, not with an unzipped wal file.

maybe in Beta 2?
mikekantor is offline   Reply With Quote
Old 4th November 2001, 05:04   #12
s0be
Major Dude
 
s0be's Avatar
 
Join Date: Jun 2001
Location: melbourne Posts: First
Posts: 1,313
Send a message via ICQ to s0be Send a message via AIM to s0be Send a message via Yahoo to s0be
I don't know. I used a free arial variant typeset in my skin and it didn't work in a .wal, worked fine when unzipped.

I guess you're right, this is probably just a beta bug. Either that or they're inventing their own font file format for us to convert our font files to(hint hint, use vector .ps style fonts) so as to make them more scalable.

/*
S0Be
*/

And On that day, the Lords of the land said unto their Master Architect, "The temple you have made to the gods of Wasabi and Maki has brought us no great prosperity" and they sent out him into the lands.

As he traveled to a far off land, he found he wasn't traveling alone, but that he had gained companions, and when they found their new land, they started work on a new temple, one that would be OPEN to all who wanted to worship.

from The Book of Wasabi C 12 Vs 09 (pg 2003)
s0be is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump