![]() |
#1 |
Scout
Join Date: Feb 2009
Location: Hamilton, NY
Posts: 31
![]() |
![]()
Greetings.
I'm trying to find a way to add a font to the Linux/X11 version of Angband. I'm reasonably sure I've got the font in the right format (.FON, converted through various trials and tribulations from a Macintosh .dfont, and verified to work in Windows), but it consistently gives me a "Couldn't load the requested font." when I set the appropriate line in my x11-settings.prf. As additional information (which those here might already know ![]() So it seems very much as if Angband is pulling its fonts from somewhere other than the /xtra/font directory. But where? And how do I get it to recognize a new font in .FON format? Thanks for any help you can give, Timothy Collett |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
![]() |
This just seems wrong...
Windows for a long time has used TrueType for its default font format, and Xorg (X11) also supports TrueType. What is the point of using old bitmapped fonts now? |
![]() |
![]() |
![]() |
#3 | |
Scout
Join Date: Feb 2009
Location: Hamilton, NY
Posts: 31
![]() |
Quote:
I was thinking that it seemed silly, too... Timothy Collett |
|
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
![]() |
Except in OSX Angband doesn't support TTF, more's the pity. I suspect it would be easier to fix this lack than to continue to maintain all these archaic font types.
|
![]() |
![]() |
![]() |
#5 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Angband X11 uses whatever fonts X11 has available, and I have no idea how to add to them. I'd recommend you use the SDL port instead, since that does let you change fonts.
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#6 | |
Scout
Join Date: Feb 2010
Location: Russia
Posts: 27
![]() |
Quote:
In the X11 port you select fonts by specifying environment variables (there are many of them). The simplest case can look something like: Code:
ANGBAND_X11_FONT="-*-terminus-*-*-*-*-20-*-*-*-*-*-*-*" angband -mx11 But I'd too recommend using SDL or GTK port. (Or GCU ![]()
__________________
S(1.0.0 final lf3+) W "Dagrin" L:100 DL:4500' A++ *R* Sp+ w:Mace of Disruption (adamant) O+/S+/Cr L H++ D/+ c f- PV+ s/- d@ P- M+ C-- !S I- So+ B? ac GHB- SQ RQ+ V/- F:haggling! ![]() |
|
![]() |
![]() |
![]() |
#7 |
Angband Devteam member
|
Seconded. Adding fonts to the X11 font server is a whole separate ball game from messing with angband. Google might be able to help, mind - but using SDL is definitely easier.
|
![]() |
![]() |
![]() |
#8 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
I think we might be getting close to calling time on the X11 port...
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#9 |
Angband Devteam member
|
Hmmm. While I opposed that idea last time it was discussed on rgra, I have since been hit with this hard-to-reproduce bug that virtually locks up some machines yet not others. Taking out the x11 port would neatly avoid having to actually understand the problem ...
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Angband under X11 | Magnate | Vanilla | 3 | December 13, 2009 21:56 |
X11 Specifying Fonts / Geometry | chadhogg | Vanilla | 7 | August 31, 2009 19:10 |
Adding Effects to Angband | PaulBlay | Development | 0 | March 28, 2009 12:08 |
[Un] Changing Fonts to be like V fonts? | Poop Loops | Variants | 6 | May 16, 2008 02:00 |
Sound on Linux with X11 is it available. | tuppe666 | Vanilla | 10 | September 13, 2007 16:42 |