ID:815655
 
(See the best response by DarkCampainger.)
Code:
var/list/RSC=list('myfont.ttf')
winset(src,"Window1.label1","font-family=\"myfont.ttf\"")
winset(src,"Window1.label1","font-family=\"myfont\"")//also does not work


Doesn't change the font at all? How do you change font? All those elements exist and its not giving me an error.

Everyone says check the skin reference but this is all it has to say:
"If you include any .ttf font files in your resources by putting them in single quotes in your source code, they will be temporarily installed on the user's system so they are available to your interface. It is a good idea not to do this with common fonts that most people have, because font files can be large. Also you should be sure the font is OK to distribute. Many freeware fonts can be found online."

In response to Avainer1
Avainer1 wrote:
http://www.byond.com/ forum/?post=260636&hl=custom%20font%20winset
I hope the page above helps you.

You do realize that page is a suggestion of features right?
Best response
Aha, I think I figured it out. The font-family is not the file name, it's the font name. So, for example, I downloaded "vermin_vibes_redux.ttf" from dafont.com, but the font-family was actually called "Vermin Vibes Redux" inside the file.

If you open the font file in notepad, you should be able to see the name. You could also install the font and see what it shows up as. Or you could take a couple of guesses, it should be pretty close to the file name.

<Edit>
It looks like it also shows up in Window's properties dialog, under details.
Thank you man, this problem has been killing me for days.