Grid Sage Forums

Cogmind => Bugs => Fixed Bugs & Non-Bugs => Topic started by: mudshark on February 12, 2020, 05:29:40 PM

Title: [Beta 9.4] Size 36 fonts fail to load
Post by: mudshark on February 12, 2020, 05:29:40 PM
Hi, my monitor is 3840x2160 and Cogmind is failing to load the size 36 fonts for 4k screens.

The game starts up in 12/Smallcaps and looking in the options menu the largest fonts available are 32 pixel (so still not filling the entire screen). Looking in run.log all the 36 pixel fonts have errors such as
Code: [Select]
I=0001924 |   |   [font set: 36/Cog]
I=0001931 |   |   ...cogmind18x36_cogmind.png
I=0001976 |   |   ...cogmind36x36.png
E=0001976 |   |   XFontSet::init() | Font "cogmind36x36.png" does not have required wide dimensions: 36x36
E=0001976 |   |   REX::loadFonts() | Unable to load font set "36/Cog"

This is from a fresh unzip of Beta 9.4 on Windows 10, and I've attached the run.log file.
Title: Re: [Beta 9.4] Size 36 fonts fail to load
Post by: Kyzrati on February 12, 2020, 07:12:57 PM
Hi mudshark, thanks for letting me know this is... odd. Will look into it here in a moment!

(I know this has worked for everyone on 4K screens for years, and there haven't been any changes in the interim, so it's especially weird.)
Title: Re: [Beta 9.4] Size 36 fonts fail to load
Post by: Kyzrati on February 12, 2020, 07:34:53 PM
Wow, I just found the issue and I'm not sure how this happened xD

I'll put together a little patch this morning and put it here for you!
Title: Re: [Beta 9.4] Size 36 fonts fail to load
Post by: Kyzrati on February 12, 2020, 07:43:59 PM
Alrighty, fixed the issue. You can drop this file into your Cogmind directory (overwrite the existing version) and Size 36 fonts should once again be accessible \o/

Thanks for the report!

Edit: Removed the file retroactively since didn't want to leave that up for later as an older version, and it's no longer necessary since the latest fix is included in the available Steam/DRM-free builds.
Title: Re: [Beta 9.4] Size 36 fonts fail to load
Post by: Kyzrati on February 12, 2020, 07:52:40 PM
(I've now also applied this fix to both the DRM-free and Steam versions, so anyone getting it from that source will have the latest, since this is a pretty important issue.)
Title: Re: [Beta 9.4] Size 36 fonts fail to load
Post by: mudshark on February 12, 2020, 08:20:23 PM
Wow, that's what I call a quick turnaround. And I can confirm that fixes the issue for me :D

Also - thanks for an awesome game :D
Title: Re: [Beta 9.4] Size 36 fonts fail to load
Post by: Kyzrati on February 12, 2020, 08:30:43 PM
Woohoo, thanks for confirming, since I've only got a 1200p monitor here so couldn't easily test it :P

Enjoy!