|
|
#1 |
|
Senior Member
|
timer font
I attempted to use a custom font for my new skin and it's not working... is this feature not yet implemented?
|
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
|
A truetype font? or a bitmap font?
|
|
|
|
|
|
#3 |
|
Senior Member
|
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. |
|
|
|
|
|
#4 |
|
Forum King
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
|
code: Use it like that, id = your font id your using and the file.. |
|
|
|
|
|
#5 |
|
Junior Member
|
Okay might sound dumb but how do you change the color of the truetypefont?
Relatively new to XML. |
|
|
|
|
|
#6 |
|
Senior Member
|
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...
|
|
|
|
|
|
#7 |
|
Senior Member
|
color="255,0,0" would give you red text when you use it. The three numbers are RGB values.
|
|
|
|
|
|
#8 |
|
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 |
|
|
|
|
|
#9 |
|
Senior Member
|
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" /> |
|
|
|
|
|
#10 |
|
Major Dude
|
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)
|
|
|
|
|
|
#11 |
|
Senior Member
|
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? |
|
|
|
|
|
#12 |
|
Major Dude
|
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)
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|