Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old December 18, 2010, 01:44   #1
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Specifying system fonts in config.h?

On Linux I want to use the Terminus font on my ToME1 mod project. I'm using the XAW interface by default because X11 segfaults mysteriously on Debian Squeeze... No matter what I put in DEFAULT_X11_FONT in config.h, though, I get something like

Code:
Couldn't find font 'foo'
Trying fixed
And the fixed font is unfortunately tiny and unreadable. Anyone know how to properly specify a system font as DEFAULT_X11_FONT?
Therem Harth is offline   Reply With Quote
Old December 18, 2010, 20:35   #2
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Figured it out... Use xfontsel (because XAW can't do Truetype fonts). So terminus 12 is

Code:
#define DEFAULT_X11_FONT		"-*-terminus-*-*-*-*-*-120-*-*-*-*-*-*"
Groovy.
Therem Harth is offline   Reply With Quote
Old December 18, 2010, 20:36   #3
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Err, wait a minute that doesn't actually work. It doesn't give the error any more, but still uses the Fixed font. Any help?
Therem Harth is offline   Reply With Quote
Old December 18, 2010, 20:51   #4
chris
PosChengband Maintainer
 
Join Date: Jan 2008
Posts: 702
chris is on a distinguished road
Quote:
Originally Posted by Therem Harth View Post
Err, wait a minute that doesn't actually work. It doesn't give the error any more, but still uses the Fixed font. Any help?
Stab in the dark (I'm on Windoze these days), but create an executable script like so (obviously, not running hengband, though, and using whatever font you prefer)
Code:
export ANGBAND_X11_FONT='-*-courier-bold-r-normal--24-*-*-*-m-*-iso8859-1'
./hengband -g -- -n1&
chris is offline   Reply With Quote
Old December 19, 2010, 02:54   #5
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Thanks, but that doesn't work either; nor "TOME_X11_FONT."
Therem Harth is offline   Reply With Quote
Old December 20, 2010, 02:24   #6
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Yeah, ANGBAND_X11_FONT only works for X11 mode, not XAW.
Therem Harth is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
This sounds more like Morgoth's build system than Sauron's. zaimoni Idle chatter 1 May 8, 2010 05:45
version control as save game system? devski Idle chatter 7 November 20, 2009 02:29
Combat System Sirridan Development 9 July 14, 2009 07:11
Magic system thoughts Mangojuice Variants 16 November 13, 2008 02:51
[Un] Changing Fonts to be like V fonts? Poop Loops Variants 6 May 16, 2008 02:00


All times are GMT +1. The time now is 14:06.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.