How to change font in angband (linux)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danvari
    Rookie
    • Feb 2008
    • 7

    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...
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9637

    #2
    Originally posted by danvari
    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.

    Comment

    • danvari
      Rookie
      • Feb 2008
      • 7

      #3
      ok, and what are the possible fonts i can use? i found out that "16x16" and "10x20" worked for me....

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9637

        #4
        Originally posted by danvari
        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.

        Comment

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎