Modding X11 fonts. - Desktop Customization & Workflow

Users browsing this thread: 2 Guest(s)
yrmt
Grey Hair Nixers
*Hello everyone, this is a little tutorial on how to modify or create X11 fonts:*

First you'll need a bitmap font editor: [gbdfed](http://sofia.nmsu.edu/~mleisher/Software....6.tar.bz2).

If the compilation fails, comment this from the Makefile:

` -DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED
`

Here's how it looks like with the default gtk theme:

![](http://i.imgur.com/gzrOaVc.png)


Now, you can load a font with ctrl+g :
You can use filters to get the font you want easily:

![](http://i.imgur.com/R2CdsvE.png)

Once the font is loaded, it will look like this:

![](http://i.imgur.com/qbndaJV.png)

You can modify the font line to use the name you want and you can click on any character to modify it, and click the "V" when you're done.

![](http://i.imgur.com/bB5mYXz.png)

You can also add a few cool chars for your bar.


When you're done modding or creating the font save it as title.bdf .

Now you can convert it to a pcf font by running:

PHP Code:
bdftopcf -t title.bdf  >  title.pcf 

-t is used to have a more terminal friendly font.

Now put you font in your font path and you're done!


Messages In This Thread
Modding X11 fonts. - by yrmt - 24-03-2013, 11:41 AM
RE: Modding X11 fonts. - by venam - 24-03-2013, 11:54 AM
RE: Modding X11 fonts. - by Ippytraxx - 24-03-2013, 11:58 AM
RE: Modding X11 fonts. - by yrmt - 24-03-2013, 12:28 PM
RE: Modding X11 fonts. - by Mafia - 24-03-2013, 02:13 PM
RE: Modding X11 fonts. - by zygotb - 27-03-2013, 01:44 AM
RE: Modding X11 fonts. - by yrmt - 29-05-2013, 12:21 PM