Is there a sure fire way to allow for fonts that are either custom or simply not installed appear for people connecting?
I've read around and there seems to be issues regarding this subject.
Sadly what I need it for is primarily on browsers. Anyway around that "touchy-ness"?
|
I got the files to compile fine but they don't seem to be usable.
I'll keep trying, for one the files don't appear unless I mark show all files and I have to include the entire path - so I guess byond is not really geared towards supporting ttf's. I'm currently testing with fonts I don't have installed, would this cause an issue? var/list/font_rsc = list('font/Signature.ttf') Anything I'm doing wrong? |
You're using it wrong. In <font face=\...</font> you need to include the name of the font surrounded by single quotes.
<font face='Signature'></font>
That should work. |
I had changed the name of the file, and Magnum pointed out privately that I should use the original. Works now.
|
Right, many TTF files have a 'family' encoded into them, it doesn't always match the name of the file.
|
Font file seems to only work once then never again; other people seem to be reporting the same thing. Valid bug?
|
I have had trouble with this as well. I needed to restart my machine for it to work again, at times it didn't show itself at all, the other made the game stuck at game loading.
|
I'm also interested in finding a solution to custom fonts in browsers. Webfonts should work now, in BYOND 5.0 Version 506.
http://www.byond.com/docs/notes/506.html |
Any font included in the rsc using single-quotes will be avaliable to use on your interface and outputs, browser controls, however, are a bit touchy about it.
The method above is just a way of referencing multiple fonts without a bunch of variables, but if you're only using one it doesn't need to be a list at all.