aboutsummaryrefslogtreecommitdiff
path: root/src/example/loadfont.cpp
blob: 8931ce37bcd1c3c6c494e7898f39d38b09865d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
#include <memory>

#include <crepe/facade/SDLFontContext.h>

using namespace crepe;

int main(){
	SDLFontContext font_facade;
	std::unique_ptr<Asset> asset = font_facade.get_font_asset("OpenSymbol");
	std::cout << "path: " << asset->get_path() << std::endl;
	return 0;
}