DNA Cafe | Download | FreeSoftware | Java | Links
There are X BDF font tools.
There are similar tool written by Perl (or Awk) , but I need faster one. So this program was written by C. The following are new feature.
Source files → mkbold-mkitalic-0.11.tar.bz2 (21922 bytes)
Documentation → README
FreeBSD →
http://www.freshports.org/x11-fonts/mkbold-mkitalic/
Slackware binary .tgz
for Slackware 12.0
→ mkbold-mkitalic-0.11-i486-2.tgz (54649 bytes)
(x86_64) → mkbold-mkitalic-0.11-x86_64-2.tgz (61099 bytes)
for Slackware 11.0 →
mkbold-mkitalic-0.11-i486-1.tgz (53100 bytes)
Notice! The version 0.06 or prior have a format string vulnerability which can be triggered by using a carefully-crafted BDF font tools. And version 0.10 or prior have a too short memory allocation bug. So, I recommend the version 0.11 or later.
Most commonly, distributed font file is PCF, so use pcf2bdf to convert PCF into BDF and bdftopcf to convert BDF into PCF.
mkbold makes font bold. It is more easy-to-read then font OR shifted 1 pixel.
$ gzip -c -d jiskan24.pcf.gz | pcf2bdf | mkbold -r -L | bdftopcf | gzip > jiskan24b.pcf.gz
mkitalic makes font slant like italic letter.
$ gzip -c -d jiskan24.pcf.gz | pcf2bdf | mkitalic | bdftopcf | gzip > jiskan24i.pcf.gz
mkbolditalic makes font bold and slant like bold-italic letter.
$ gzip -c -d jiskan24.pcf.gz | pcf2bdf | mkbolditalic -r -L | bdftopcf | gzip > jiskan24bi.pcf.gz
Original font file is jiskan24.pcf.gz in X11R6.7.0.
mkbold output.
mkitalic output.
mkbolditalic output.