Yocto-FontEditor can now import DBF files

Yocto-FontEditor can now import DBF files

The BDF format, also known as Glyph Bitmap Distribution Format, is an old bitmap font format designed by Adobe nearly forty years ago. Since it's fairly easy to find attractive fonts defined in this format, we figured it would be worth enabling the Yocto-FontEditor application to import them.





To be honest, we were completely unaware of this format's existence until we recently read an article mentioning it on Hackaday. We took a closer look at the format's specifications and realized that it's a fairly simple text-based format and that it wouldn't take too long to implement this improvement.

Usage

From the user's perspective, not much has changed, there's just one more option on the home screen. This option lets you select one or more BDF files stored on your computer. This option also provides a font preview, giving you a sneak peek at how a string of characters of your choice will look.

If you've selected multiple BDF files, you'll also see a list of the files you've chosen, displayed using the font they contain. This makes it easy to compare them. If any filenames appear in gray, it means that the corresponding file could not be decoded, or that it does not contain the standard characters that Yocto-FontEditor expects.

The new option to import BDF files
The new option to import BDF files


If Yocto-FontEditor finds copyright information in a BDF file, it displays it. Keep in mind that not all fonts you find on the internet are necessarily royalty-free. If you want to be sure, open the file you're interested in with a text editor; some contain a header explaining what the font author expects from you.

Limitation

The BDF format can encode a wide variety of characters, but Yocto-FontEditor only reads characters with ASCII codes less than 256 and correctly decodes only fonts intended for left-to-right and top-to-bottom writing.

Conclusion

Yocto-FontEditor's ability to import BDF fonts allows you to work with bitmap fonts that were specifically designed for display on low-resolution screens, making it easy to add style to projects based on Yoctopuce displays. Even though it's a somewhat forgotten format, BDF files can still be found fairly easily in various places, for example here or there.

Add a comment No comment yet Back to blog












Yoctopuce, get your stuff connected.