Messed up Chili font

Messed up Chili font

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Messed up Chili font

Post by lamer »

I have font issue with OS X spring, but seems like bug only affects ZK (or rather Chili framework).
Broken font.png
(699.9 KiB) Downloaded 1 time
In first 2 seconds all font is normal, then it messes up.
Any ideas what could be the cause?
infolog.txt

Update: in safemode font is normal.
Last edited by lamer on 02 Jan 2015, 14:45, edited 2 times in total.
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: Messed up Chili font

Post by hokomoko »

I sometimes have same issue with Intel HD graphics.
8611
XTA Developer
Posts: 242
Joined: 29 Dec 2014, 08:22

Re: Messed up Chili font

Post by 8611 »

It reminds a bit of http://springrts.com/wiki/FAQ:trouble#F ... unreadable
Image

If you want to investigate further:
On http://springrts.com/wiki/Springsettings.cfg you see which settings get changed with safemode.
(the last row with "safemode" heading)
Try out which ones break/fix it..if you figure it out it could be added to FAQ...

You say it is normal and then after seconds gets blocky, it is maybe a widget that only activates after some time? Try to find out if a certain widget causes it, disable/enable widgets to maybe find it...
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: Messed up Chili font

Post by lamer »

Found that in my case Shadows = 0 in springsettings.cfg makes font normal.
Should investigate futher, On OS X i got lots or warnings about shaders with shadow in infolog^

Code: Select all

[f=0000000] Warning: FBO-SHADOW: Incomplete read buffer!
[f=0000000] Warning: FBO-SHADOW-GL_CLAMP_TO_EDGE: Incomplete read buffer!
[f=0000000] Warning: FBO-SHADOW-GL_ALPHA4: GL_FRAMEBUFFER_UNSUPPORTED_EXT
Strange that shadows displayed fine with Shadows = 1.
Last edited by lamer on 02 Jan 2015, 17:35, edited 1 time in total.
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: Messed up Chili font

Post by lamer »

Kinda don't understand why on linux (glsl 4.4) shaders could be compiled without necessary definitions like MAX_DYNAMIC_MAP_LIGHTS. My OS X (glsl 1.2) infolog^ contains exactly such broken shaders.
This code claims that everything is in norm, but thats not working on OS X, atleast not glsl 1.2.

Don't know the reason for such approach so i'll just create bug-report.
Also have no idea if its related to font bug, but fixing shaders is important anyway i think.

Upd: reported
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: Messed up Chili font

Post by lamer »

Getting closer to solution with font-shadow bug. The cause:

Code: Select all

[f=0000000] Warning: FBO-SHADOW: Incomplete read buffer!
[f=0000000] Warning: FBO-SHADOW-GL_CLAMP_TO_EDGE: Incomplete read buffer!
[f=0000000] Warning: FBO-SHADOW-GL_ALPHA4: GL_FRAMEBUFFER_UNSUPPORTED_EXT
When i comment first failed attempts to create fbo-shadow and go directly for the right one (4th) - everything works normal. So its malformed fbo causes such lags.

fix
Post Reply

Return to “Help & Bugs”