DNA Cafe | Download | FreeSoftware | Java | Links

DNA - FreeSoftware - mkbold-mkitalic

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)

Changes

0.11
Fix too short memory allocation bug to make font italic
0.10
Now it can run int < 32 bits system
mkbold is a little faster then the version 0.09
Fixes a number of problems
0.09
Runs about 2 times faster then the version 0.08 or prior
Fixes a number of problems

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

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

mkitalic makes font slant like italic letter.

$ gzip -c -d jiskan24.pcf.gz | pcf2bdf | mkitalic | bdftopcf | gzip > jiskan24i.pcf.gz

mkbolditalic

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

Samples

Original font file is jiskan24.pcf.gz in X11R6.7.0.

original font

mkbold output.

mkbold output

mkitalic output.

mkitalic output

mkbolditalic output.

mkbolditalic output


Reference

http://hp.vector.co.jp/authors/VA013391/tools/#mkbold
make easy-to-read bold font - bold font project mkbold (Japanese)
http://www.tsg.ne.jp/GANA/S/pcf2bdf/
pcf2bdf (Japanese)
http://wiki.fdiary.net/font/
font Wiki - FrontPage (Japanese)
http://www.x.org/
X.Org
http://khdd.net/kanou/fonts/x11bdfs.html
Table of Japanese fonts for X11 (Japanese)
http://openlab.ring.gr.jp/efont/
/efont/ Electronic Font Open Laboratory

Vector Valid XHTML 1.1! Valid CSS!