#pragma once

#include "BitmapAtlasStorage.h"
#include "GlyphGeometry.h"
#include "ofMain.h"
#include "freetype2/freetype/freetype.h"
#include <msdf-atlas-gen/msdf-atlas-gen.h>
#include "Atlas.h"
#include "conversion.h"

namespace ofxMsdfgen {
bool generateAtlas(const char * fontFilename);

// doesn't really do anything yet
// just saves the atlas as a png
bool submitAtlasBitmapAndLayout(const msdfgen::BitmapConstRef <float, 3> & storage,
                                const std::vector <msdf_atlas::GlyphGeometry> & glyphs,
                                const int & width,
                                const int & height);
}
