Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1896 Location: Switzerland (Romandie)
|
Posted: Sun Jan 19, 2025 1:41 pm Post subject: XBomb fonts configuration |
|
|
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! _________________ "Confirm You are a robot." - the singularity |
|