Very small font on linux

Very small font on linux

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Very small font on linux

Post 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.
Attachments
spring_small_font.jpg
(96.91 KiB) Downloaded 68 times
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Very small font on linux

Post by LordMatt »

What distro are you using? And what graphics card/driver?
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post 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.
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post by astsmtl »

Should I open a bug?
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Very small font on linux

Post 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
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post 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. :(
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Very small font on linux

Post by BrainDamage »

FontCharFirst=32
FontCharLast=255
are respectively minimum and maximum size iirc
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post 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. :)
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Re: Very small font on linux

Post by theHive »

My equivalent to .springrc (on a Mac here) has 'FontSize' as an option. Just takes a 'number'.
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post 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.
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post by astsmtl »

Solution at the end of this topic helped me. Can anyone explain why setting FontCharLast to 185 makes font larger?
Attachments
spring_fontcharlast185.jpg
(103.9 KiB) Downloaded 37 times
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Very small font on linux

Post by koshi »

i'm afraid no. last i checked no one (including engine devs) knew why this seemingly unrelated option makes the difference (sometimes)
astsmtl
Posts: 9
Joined: 17 Apr 2008, 09:18

Re: Very small font on linux

Post by astsmtl »

Anyway thanks for your suggestions! :-)

P.S. I opened bug. Hope devs will fix it soon. :wink:
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: Very small font on linux

Post by clericvash »

I also get small fonts and i will try out your solution
Post Reply

Return to “Linux”