Old 14th December 2007, 15:59   #1
Wilian Souza
Junior Member
 
Wilian Souza's Avatar
 
Join Date: May 2007
Location: Osasco, SP, Brazil
Posts: 11
Windows fonts in WA modern skins

Hello,

I am creating a WA modern skin by the first time and I´d like to know if there´s any way to make a skin use a true type font installed in the OS, or I have to embed the font I need in the skin file every time.
Wilian Souza is offline   Reply With Quote
Old 14th December 2007, 16:48   #2
RandomCarpet
Senior Member
 
RandomCarpet's Avatar
 
Join Date: Sep 2002
Location: BG
Posts: 265
No, you don't need to embed the font file in the skin every time, but there is always a risk that the font you want to use is not installed on user's machine.

all you need is:

PHP Code:
   <text id="wasabi.text"
     
font="[the name of any font installed on your machine]"

     
...

   /> 
for example "Arial", "Lucida Console", if the font parameter is not specified, it's defaulted to "tahoma" I think.

Latest skin: fCrcl
RandomCarpet is offline   Reply With Quote
Old 14th December 2007, 17:05   #3
Wilian Souza
Junior Member
 
Wilian Souza's Avatar
 
Join Date: May 2007
Location: Osasco, SP, Brazil
Posts: 11
Do I need to specify the full path to the font or just identify the text with the ID "wasabi.text" and I´m all done?
Wilian Souza is offline   Reply With Quote
Old 14th December 2007, 17:13   #4
RandomCarpet
Senior Member
 
RandomCarpet's Avatar
 
Join Date: Sep 2002
Location: BG
Posts: 265
No full path is needed, and for the id paramenter - you can put whatever id you want, it shoud work even if you skip it.

Latest skin: fCrcl
RandomCarpet is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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