Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 28, 2008, 11:01   #1
danvari
Rookie
 
Join Date: Feb 2008
Posts: 7
danvari is on a distinguished road
How to change font in angband (linux)?

hello!

yeah, thats the question...how can i change the font in linux-angband (x11)? i think there has to be a config file but i do not know where...
danvari is offline   Reply With Quote
Old February 28, 2008, 12:32   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,224
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by danvari View Post
yeah, thats the question...how can i change the font in linux-angband (x11)? i think there has to be a config file but i do not know where...
You need to set the environment variable ANGBAND_X11_FONT_0 to the font size you want for the main window (9x15 for example). There are a bunch of other environment variables you can set - look at the comments at the start of main-x11.c for more details.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old February 28, 2008, 14:35   #3
danvari
Rookie
 
Join Date: Feb 2008
Posts: 7
danvari is on a distinguished road
ok, and what are the possible fonts i can use? i found out that "16x16" and "10x20" worked for me....
danvari is offline   Reply With Quote
Old February 28, 2008, 14:44   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,224
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by danvari View Post
ok, and what are the possible fonts i can use? i found out that "16x16" and "10x20" worked for me....
Usually the ones you'll find in lib/xtra/font. If in doubt, just try sizes and see if they work
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick 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
Angband 3.0.9 under Linux (graphics?) strangeintp Vanilla 4 January 19, 2008 23:44
normal font is blank? will_asher Vanilla 2 September 8, 2007 21:24
font follies- making angband appear pretty. leontes Vanilla 0 August 6, 2007 03:30
Trouble compiling angband 3.0.9 on linux RastaRuedi Vanilla 2 August 1, 2007 18:28
[Z] Change race back Snarka Variants 4 July 22, 2007 18:57


All times are GMT +1. The time now is 18:47.


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