
PNGcustomfont.bi

This is the actual header you need to include with your program in order to load
and display custom fonts.  I won't tell how it works, as there are examples and
docs.  If you want to look at the code, mess around with it, etc., go right ahead.
I admit this code is pretty messy, I don't expect anyone to like it or even understand
it.  It's based on Lachie's customfont_ver2, but it's much more complicated and
messy.  Nevertheless, it works (for the most part, anyways) so I'm proud of it.  It is,
at least, useful to me, and hopefully it will be useful to someone else, too.

You could place this in the FreeBasic include files directory, or you could just keep
it with your project.  It's all in one file, so it's not a big hassle to move it around.

As for the things it INCLUDEs - fbgfx is always included with FreeBasic, no need to
worry about that.  fbpng you'll probably need to download or have already;  if it's under /inc/fbpng/ then you're fine;  otherwise you'll need to modify the path inside
PNGcustomfont.bi.  If you don't want to use fbpng define NOPNG and it will not even
be compiled with PNGcustomfont.  This should save you about 8KB in your executable, though in the end it will probably be more space since BMPs are not compressed.