summaryrefslogtreecommitdiff
path: root/font.cpp
blob: 22020c913a3e4be3b2c6135e3bdeeb635cd31aef (plain)
1
2
3
4
5
6
7
8
#include <cassert>
#include "font.h"


Font::Font(const unsigned char *filedata,unsigned int file_len)
		:filedata(filedata),file_len(file_len){
	assert(sf_font.loadFromMemory(filedata,file_len));
}