nixers
Modding X11 fonts. - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/Forum-Desktop-Customization-Efficiency-and-Aesthetics)
+--- Forum: Desktop Customization & Workflow (https://nixers.net/Forum-Desktop-Customization-Workflow)
+--- Thread: Modding X11 fonts. (/Thread-Modding-X11-fonts)


Modding X11 fonts. - yrmt - 24-03-2013

*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/gbdfed/gbdfed-1.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!


RE: Modding X11 fonts. - venam - 24-03-2013

Thanks Beastie for the tutorial, I've been wondering how to do that for some time.
The coolest part is that you can create weird 8-bit like characters like monsters or mushrooms for examples.


RE: Modding X11 fonts. - Ippytraxx - 24-03-2013

THANKYOU SO MUCH! I've been wanting to convert a TTF font I have to a proper bitmap font so that it is rendered properly in the terminal. Gonna get straight to it.


RE: Modding X11 fonts. - yrmt - 24-03-2013

No problem, tell me if you run into problems.


RE: Modding X11 fonts. - Mafia - 24-03-2013

You told me about gbfed so long ago, and now your just showing me a tutorial?
>.< Thank you.


RE: Modding X11 fonts. - zygotb - 27-03-2013

Thanks Beastie... Once again, you deliver the goods!
When I grow up, I wanna be just like you!


RE: Modding X11 fonts. - yrmt - 29-05-2013

http://www.x.org/archive/X11R6.8.0/doc/fonts2.html guide explains how to install fonts on X.org.