Grepping all over the place for freesans is getting me nowhere. I've looked in basecontent. I've looked in Evo's core files I don't know how many times.
Either I'm blind or it's somewhere I haven't looked yet.
HaoduzI?
How do I override Spring's Default Font?
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: How do I override Spring's Default Font?
Wait a sec... Font is a springsettings var?
*Surprised pikachu*
That's pretty awesome. Thanks!
*Surprised pikachu*
That's pretty awesome. Thanks!
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: How do I override Spring's Default Font?
Ok, so how do I point to a font file that is in the game archive? It seems treat the folder that spring.exe is run from as ./
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: How do I override Spring's Default Font?
You're changing the default font for Spring there. That's a global property, not a game specific property, so it doesn't assume that any particular game is installed -> it shouldn't be assumed to come from within a game archive. I guess that the VFS is not even loaded at some points where Springs default font is used (e.g. Engines own menu to choose game/map).
Any filepath works though, https://springrts.com/wiki/Springsettings.cfg#FontFile
Any filepath works though, https://springrts.com/wiki/Springsettings.cfg#FontFile
Re: How do I override Spring's Default Font?
So if a user plays a game that overrides that, then plays another game that doesn't, he'll get the modified font?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: How do I override Spring's Default Font?
The way it is set up is that it is completely user-side.
It also only effects spring itself. Everything else is handledin game in-mod.
Source: Gave myself a shitty crash course in spring and fonts for the past 2 days and am still slightly confused.
It also only effects spring itself. Everything else is handled
Source: Gave myself a shitty crash course in spring and fonts for the past 2 days and am still slightly confused.
Re: How do I override Spring's Default Font?
It is in root/fontsForboding Angel wrote: ↑11 Sep 2019, 06:32 Ok, so how do I point to a font file that is in the game archive? It seems treat the folder that spring.exe is run from as ./
https://github.com/SpringMCLegacy/Sprin ... Gothic.ttf