#include <string>
#include <msp/datafile/objectloader.h>
#include <msp/stringcodec/utf8.h>
-#include "vertexarray.h"
namespace Msp {
namespace GL {
class Loader: public DataFile::CollectionObjectLoader<Font>
{
public:
- Loader(Font &);
Loader(Font &, Collection &);
private:
- void init();
void glyph(unsigned);
void kerning(unsigned, unsigned, float);
void ligature(unsigned, unsigned, unsigned);
typedef std::map<CodePair, float> KerningMap;
typedef std::map<CodePair, unsigned> LigatureMap;
- RefPtr<const Texture2D> texture;
+ const Texture2D *texture;
float native_size;
float ascent;
float descent;