[Defcon-v1.42] Font Problem under Ubuntu 6.06 [solved]
Moderator: Defcon moderators
[Defcon-v1.42] Font Problem under Ubuntu 6.06 [solved]
Last edited by Matthias on Fri May 25, 2007 1:14 pm, edited 2 times in total.
- frenchfrog
- level5
- Posts: 2572
- Joined: Sun Sep 22, 2002 7:11 pm
- Location: Quebec
- frenchfrog
- level5
- Posts: 2572
- Joined: Sun Sep 22, 2002 7:11 pm
- Location: Quebec
Hardware and Driver
Video Hardware
ATI Mobility Radeon 7000
* Chipset: ATI M6
* PCI ID: 1002:4c59
* AGP 4X
* 8 or 16MB DDR-SDRAM video memory
* External VGA up to: 2048x1536x16.7M at 75Hz
Driver
http://packages.ubuntu.com/dapper/x11/x ... driver-ati
This adapter is supported by recent versions of the radeon driver as found in X.Org and XFree86.
This chip is not supported by the proprietary ATI driver
ATI Mobility Radeon 7000
* Chipset: ATI M6
* PCI ID: 1002:4c59
* AGP 4X
* 8 or 16MB DDR-SDRAM video memory
* External VGA up to: 2048x1536x16.7M at 75Hz
Driver
http://packages.ubuntu.com/dapper/x11/x ... driver-ati
This adapter is supported by recent versions of the radeon driver as found in X.Org and XFree86.
This chip is not supported by the proprietary ATI driver
- frenchfrog
- level5
- Posts: 2572
- Joined: Sun Sep 22, 2002 7:11 pm
- Location: Quebec
hmmm, the code for rendering the exit nag screen and the fonts texture is incredibly similar.
Only minor options differ:
fonts:
glBlendFunc( GL_SRC_ALPHA, GL_ONE );
glTexParameteri ( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR );
nag screen:
glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
glTexParameteri ( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
Unless I miss something, it seems your driver don't gives the right output under certain conditions.
EDIT: which version of the xorg driver do you run?
Only minor options differ:
fonts:
glBlendFunc( GL_SRC_ALPHA, GL_ONE );
glTexParameteri ( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR );
nag screen:
glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
glTexParameteri ( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
Unless I miss something, it seems your driver don't gives the right output under certain conditions.
EDIT: which version of the xorg driver do you run?
- bert_the_turtle
- level5
- Posts: 4795
- Joined: Fri Oct 13, 2006 6:11 pm
- Location: Cologne
- Contact:
- frenchfrog
- level5
- Posts: 2572
- Joined: Sun Sep 22, 2002 7:11 pm
- Location: Quebec
- bert_the_turtle
- level5
- Posts: 4795
- Joined: Fri Oct 13, 2006 6:11 pm
- Location: Cologne
- Contact:
Here you go:
http://armagetron.kicks-ass.net/~manuel ... nt-0.1.zip
Instructions: download and unzip this into the libs subdirectory of your defcon installation. That should create a new subdirectory with the name "mods". Usually, you'd now be able to activate the mod (it's actually two of them, one with 512x512 fonts, one with 256x256) from within the game. But you need to have Defcon activated, which I imagine could have been difficult
So instead, just copy the data subdirectory of the font mod of your choice directly into the libs subdirectory of the defcon installation. A call of "du" from the top directory should look something like this (I snipped the stuff you won't see, so the totals are off):
The mods subdirectory came from the zip, and the ./lib/data subdirectory is your copy of the mod data directory of your choice. I suggest ./lib/mods/smallfont-0.1/data; tinyfont is just too ugly
http://armagetron.kicks-ass.net/~manuel ... nt-0.1.zip
Instructions: download and unzip this into the libs subdirectory of your defcon installation. That should create a new subdirectory with the name "mods". Usually, you'd now be able to activate the mod (it's actually two of them, one with 512x512 fonts, one with 256x256) from within the game. But you need to have Defcon activated, which I imagine could have been difficult
So instead, just copy the data subdirectory of the font mod of your choice directly into the libs subdirectory of the defcon installation. A call of "du" from the top directory should look something like this (I snipped the stuff you won't see, so the totals are off):
Code: Select all
gonzo defcon-v1.42 # du
12 ./doc
1060 ./lib/mods/smallfont-0.1/data/fonts
1064 ./lib/mods/smallfont-0.1/data
1072 ./lib/mods/smallfont-0.1
292 ./lib/mods/tinyfont-0.1/data/fonts
296 ./lib/mods/tinyfont-0.1/data
304 ./lib/mods/tinyfont-0.1
54848 ./lib/mods
2084 ./lib/data/fonts
13792 ./lib/data
135296 ./lib
136228 .
With small fonts it works well, thank you. Demo users can not load mods and it's hard to guess the right menu anyway, but putting it into /lib/data/fonts does it (both tiny and small version).
http://packages.ubuntu.com/dapper/x11/xserver-xorg version is 7.0.0-0ubuntu45
http://packages.ubuntu.com/dapper/x11/xserver-xorg version is 7.0.0-0ubuntu45
- bert_the_turtle
- level5
- Posts: 4795
- Joined: Fri Oct 13, 2006 6:11 pm
- Location: Cologne
- Contact:
Who is online
Users browsing this forum: No registered users and 3 guests