Discussion:
[hlcoders] Source not loading TTF files (glyphs etc) after upgrading OS
Dexter Haslem
2015-08-05 02:49:26 UTC
Permalink
After upgrading to windows 10 (from 8.1), Source games are not loading
custom fonts and I can't figure out why.

I've tried a few source games, mainly Fortress Forever and NeoTokyo
and they both had the problem. No changes to ClientScheme.res were
done. There are console warnings right off the bat, like

Failed to load custom font file 'd:\games\steam\steamapps\common\fortress
forever\fortressforever\resource\hudglyphs.ttf'

Failed to load custom font file
'd:\games\steam\steamapps\common\neotokyo\neotokyosource\resource\cs.ttf'

And they all do not work in game. I thought at first it was
permissions being screwed up on this second D:\ drive where I have
steam installed, so I changed permissions for all files on disk to my
windows user but the problem still exists.

Trying to open the font files in explorer gives the following error:
"The requested file <...> is not a valid font file."

This is odd because I was able to open and view the contents of the
TTFs without issue before on windows 7 and 8.

Is anyone else experiencing this issue? Any ideas?

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Dexter Haslem
2015-08-06 16:48:26 UTC
Permalink
I finally figured it out after realizing this wasn't specific to
source games (and all of them at that). You MUST enable windows
firewall. That's it! If windows firewall is disabled, applications
won't be able to load custom TTFs and explorer gives misleading
errors. Absolutely amazing work
Post by Dexter Haslem
After upgrading to windows 10 (from 8.1), Source games are not loading
custom fonts and I can't figure out why.
I've tried a few source games, mainly Fortress Forever and NeoTokyo
and they both had the problem. No changes to ClientScheme.res were
done. There are console warnings right off the bat, like
Failed to load custom font file 'd:\games\steam\steamapps\common\fortress
forever\fortressforever\resource\hudglyphs.ttf'
Failed to load custom font file
'd:\games\steam\steamapps\common\neotokyo\neotokyosource\resource\cs.ttf'
And they all do not work in game. I thought at first it was
permissions being screwed up on this second D:\ drive where I have
steam installed, so I changed permissions for all files on disk to my
windows user but the problem still exists.
"The requested file <...> is not a valid font file."
This is odd because I was able to open and view the contents of the
TTFs without issue before on windows 7 and 8.
Is anyone else experiencing this issue? Any ideas?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Loading...