Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old August 30, 2009, 23:39   #1
chadhogg
Rookie
 
Join Date: Aug 2009
Posts: 4
chadhogg is on a distinguished road
Question X11 Specifying Fonts / Geometry

I am attempting to play Angband 3.0.9b, as packaged in Ubuntu GNU/Linux 9.04. When I played before I controlled the fonts and locations of various windows using ~/.Xdefaults, as suggested at http://www.thangorodrim.net/linux/faq.html (but with my own particular preferences). I cannot now get Angband to recognize these X resources, although I am able to use them to customize xterm and other applications. My guess at this point would be that Angband has changed the name of the classes and settings that it supports, but I cannot find any documentation of this.

As an alternative, I discovered through looking at the source code that Angband reads several environment variables. Specifically, I am able to control the font used in the main window by setting ANGBAND_X11_FONT_0="fixed" (or "5x7" or "7x13" or whatever). However, this only partially works. Decreasing the size of the font causes the individual glyphs to be smaller, but space is inserted between them so that I cannot shrink the window from taking up almost my entire screen. It is set to 24 rows and 80 columns, but I cannot seem to get rid of this extra space, making it basically impossible to see the sub-windows.

Note that changing the fonts in these sub-windows works exactly as I would expect; it is only the main window that has this strange space-inserting property. Can anyone suggest how I might change this or get the old X resources method to work?

Thank you,
Chad
chadhogg is offline   Reply With Quote
 

Tags
fonts, vanilla, x11


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
Fonts and graphics findings Dark Vanilla 4 May 7, 2009 18:16
Why no tile support in x11 port? bdo Vanilla 2 February 2, 2009 23:42
[O] and [FA] fonts on Nintendo DS fearoffours Variants 3 January 30, 2009 08:09
[Un] Changing Fonts to be like V fonts? Poop Loops Variants 6 May 16, 2008 03:00
Sound on Linux with X11 is it available. tuppe666 Vanilla 10 September 13, 2007 17:42


All times are GMT +1. The time now is 02:31.


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