ID:138709
 
ok i added a new font to the source, and it DOES work. but for some reason it works for some players and not others. when it works, its fine, when it doesnt, players say that their chat freezes up. how its used, is players can change the font face of their text in world chat. and this font, is my font for testing purpose, until i can get it to work 100% for all players. the code is:


var
list/extra_resources = list('FontFaceName.ttf')



Do the users reporting a problem with the font have anything in common? What font is it exactly?
I believe he's talking about interface fonts.
I know they were used in NEStalgia, but I've personally never been able to get them to actually work.

I know you have to go into the Skin and manually enter the name of the font into the dropdown. (I think it also works if you install the font locally)

Try that?

If the client doesn't have that font installed, including it as a resource as you've done above SHOULD have the client automatically download it.

You are using it in the interface correct?
I know there was an issue we found with the font in NEStalgia. Apparently Windows really doesn't do a very good job with AddFontResource() and making sure there are no conflicts.
In response to Lummox JR
Lummox JR wrote:
I know there was an issue we found with the font in NEStalgia. Apparently Windows really doesn't do a very good job with AddFontResource() and making sure there are no conflicts.

Is there a way you could possibly work around this?
In response to Darker Legends
Darker Legends wrote:
Lummox JR wrote:
I know there was an issue we found with the font in NEStalgia. Apparently Windows really doesn't do a very good job with AddFontResource() and making sure there are no conflicts.

Is there a way you could possibly work around this?

In theory AddFontResourceEx() might do the trick, but it's not readily avialable to us for some legacy reasons. So it might be doable but it's hairy. It's also not clear from Microsoft's truly paltry documentation whether this would really solve our problem.