Page 1 of 1

Very small font on linux

Posted: 17 Apr 2008, 12:44
by astsmtl
Hi. I compiled 0.76b1, seems like everything works, I can launch the game with springlobby, but the game interface fonts are very small. Screenshot attached.

Re: Very small font on linux

Posted: 17 Apr 2008, 15:09
by LordMatt
What distro are you using? And what graphics card/driver?

Re: Very small font on linux

Posted: 17 Apr 2008, 15:25
by astsmtl
LordMatt wrote:What distro are you using? And what graphics card/driver?
I'm using Source Mage with nVidia proprietary driver. I have this problem on 2 different computers:
  • GeForce 4 + nVidia legacy driver 96.43.05
    FX 5500 + nVidia driver 173.08
On the system with FX5500 I tried Spring on Windows XP and there is no such problem there.

Re: Very small font on linux

Posted: 18 Apr 2008, 05:05
by astsmtl
Should I open a bug?

Re: Very small font on linux

Posted: 18 Apr 2008, 13:32
by BrainDamage
make sure your resolution is at least 1024 * 768, also there is an option entry to set the font size, but i can't find the name atm

Re: Very small font on linux

Posted: 18 Apr 2008, 13:50
by astsmtl
Brain Damage wrote:make sure your resolution is at least 1024 * 768, also there is an option entry to set the font size, but i can't find the name atm
My resolution is 1024x768. I tried searching for such option in .springrc and didn't found anything for font size. :(

Re: Very small font on linux

Posted: 18 Apr 2008, 14:34
by BrainDamage
FontCharFirst=32
FontCharLast=255
are respectively minimum and maximum size iirc

Re: Very small font on linux

Posted: 18 Apr 2008, 16:28
by astsmtl
Brain Damage wrote:
FontCharFirst=32
FontCharLast=255
are respectively minimum and maximum size iirc
I think these are not font sizes but character codes range available to game. I tried increasing FontCharFirst and small chars were still small, but some chars completely disappeared. :)

Re: Very small font on linux

Posted: 20 Apr 2008, 11:15
by theHive
My equivalent to .springrc (on a Mac here) has 'FontSize' as an option. Just takes a 'number'.

Re: Very small font on linux

Posted: 20 Apr 2008, 11:46
by astsmtl
theHive wrote:My equivalent to .springrc (on a Mac here) has 'FontSize' as an option. Just takes a 'number'.
Although my .springrc had no such option I tried adding it like FontSize=20 and it doesn't work.

Re: Very small font on linux

Posted: 21 Apr 2008, 01:44
by astsmtl
Solution at the end of this topic helped me. Can anyone explain why setting FontCharLast to 185 makes font larger?

Re: Very small font on linux

Posted: 21 Apr 2008, 01:54
by koshi
i'm afraid no. last i checked no one (including engine devs) knew why this seemingly unrelated option makes the difference (sometimes)

Re: Very small font on linux

Posted: 21 Apr 2008, 02:10
by astsmtl
Anyway thanks for your suggestions! :-)

P.S. I opened bug. Hope devs will fix it soon. :wink:

Re: Very small font on linux

Posted: 21 Apr 2008, 23:25
by clericvash
I also get small fonts and i will try out your solution