
This directory contains the font2res utility useful for creating an
include file from a binary font file. The generated 'font.h' looks like
this:

unsigned long int fontsize = 65932;
unsigned char fontdata[] = {
0x7f,0x45,0x4c,0x46,0x1,0x1,0x1,0x0,0x0,0x0,
... lots of bytes here ...
};

You can then use this font as follows:

#include "font.h"
#include "aedGui.h"

int main()
{
    // init SDL, etc.
    
    aedApp app;
    
    // These two calls must appear before you create the widgets
    app.addMemoryFont("my_font", fontdata, fontsize);
    app.setDefaultFontName("my_font");
    
    // create main desktop window, widgets, etc.
}
