fonts trouble

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
Post Reply
skel

fonts trouble

Post by skel »

hello , i have a fonts trouble under linux / voodoo3
not all fonts i can adjust the "ship" one, but the "sell, buy , weapons" menu fonts don't change and they are quite unreadable (some char look odd)

thanks for vs and for the help
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Maybe you could take a screenshot of VS so I know what you mean (GIMP has a screenshot aquire option in I think the file right click menu

If you don't have any web space, e-mail them to me at

patrick D0T horn
then at thing
mindspring
D0T c0m

just in case spam bots really are that smart :wink:
skel

fonts trouble screenshot

Post by skel »

this is how i see the fonts

Image
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Hmm... That does look terrible

Well actually we don't draw the fonts. The glut library does it, so I don't know if there is and easy way to solve it without hacking at the source code.

Actually it looks like there is no antialiasing. Since this is linux, you probably have built it from source.

Could you try modifying a few things in the source file to see if it makes the text readable.

(Sorry if you already know C++, as I am assuming you don't to avoid confusion.)

In the file src/gui/glut_support.cpp (around lines 257 and 278) at aroung Try commenting out the lines saying:

Code: Select all

glEnable(GL_LINE_SMOOTH);
And make them look kind of like

Code: Select all

//      glEnable(GL_LINE_SMOOTH);
Then run make at the vegastrike directory to reuild VS

See if it then looks better or worse or the same.

If it still looks bad, adding a line right before the one you commented out saying:

Code: Select all

glLineWidth(2);
and a line after the second thing you commented out saying:

Code: Select all

glLineWidth(1);
This will make the text thicker (hopefully easier to read) and restore it to normal at the bottom.

Again you will have to run make begore you can test it.

If it still looks bad try 3 instead of 2 (even more thick)

tell me if either one of them works or doesn't work.
skel

Post by skel »

thanks for you answer ,
you assuming good i don't know c++ so the tips are not un-welcome
but alas i haven't compiled vegastrike i just grabbed the debian packages
i can't try to compile it now (i have big trouble with apache/php to resolve first)
but i'll try it as soon as i can
thanks
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Oh yeah, well if you are using the deb packages, it isn't as easy...
Unfortunately the values are hard coded into the source for the docking screen, so you will most likely have to live with it...
Post Reply