Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XBomb fonts configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1896
Location: Switzerland (Romandie)

PostPosted: Sun Jan 19, 2025 1:41 pm    Post subject: XBomb fonts configuration Reply with quote

To run XBomb on a high definition screen can be very frustrating due to its default font configuration and a man page that is not really clear.

With XBomb default font configuration, we get:
Code:
$ xbomb

XBomb Version 2.2b

(c) Andrew M. Bishop 1994-2013 [http://www.gedanken.org.uk/software/xbomb/]

Warning: Cannot convert string "lucidasans-bold-14" to type FontStruct
Warning: Cannot convert string "lucidasans-bold-24" to type FontStruct

and very small fonts.

In XBomb source code, it is the file xbomb.ad that contain all XBomb related Xorg resources, including the fonts:
Code:
! The default font and the font for the markings on the grid.
*font:         lucidasans-bold-14
*grid.font:      lucidasans-bold-24


To know the font strings you can use with this, install xfontsel:
Code:
emerge -va x11-apps/xfontsel


Run it and edit ~/.Xresources accordingly, as example:
Code:
! XBomb fonts
XBomb*grid.font: -*-lucidatypewriter-bold-*-*-sans-24-*-*-*-*-*-*-*
XBomb*font: -*-lucidatypewriter-bold-*-*-sans-17-*-*-*-*-*-*-*


Run xrdb or log out and in again:
Code:
$ xrdb ~/.Xresources


That's it! 8)
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum