/bdf-to-image

Converts bdf fonts to image file.

Primary LanguagePythonMIT LicenseMIT

Bdf to image

Converts bdf fonts to image file.

Usage

./bdftoimg.py <filename> <outputfile> [--jis-to-sjis]

  • --jis-to-sjis convert JIS X xxxx encoding to SHIFT JIS.

Example

./bdftoimg.py shnm6x12r.bdf shnm6x12r.png --jis-to-sjis

If you have a Shinonome font file called shnm6x12r.bdf and run the command above, then you get the following image.

command output

License

This software is released under MIT License.