3

Is there an easy way to generate a labeled bitmap image for each glyph contained in a given bitmap font file?

I'm trying to convert a collection of Japanese .bdf fonts into a format usable in MATLAB and C++, where each glyph is used as the OCR classification key for the character it represents.

1 Answers1

0

FontForge has support for Bitmap Distribution Format (BDF) files. You can probably export a BMP files from there. I also found bdf2png. You can read up on the BDF specification and implement your own solution, which doesn't seem too bad as the format is in ASCII.

worbel
  • 6,509
  • 13
  • 53
  • 63