stuff-from-scratch/test/fonts/TestFreeTypeFontEngine.cpp
2022-11-15 09:32:28 +00:00

18 lines
301 B
C++

#include "FreeTypeFontEngine.h"
#include "Image.h"
#include <iostream>
int main()
{
FreeTypeFontEngine engine;
engine.initialize();
engine.loadFontFace("truetype/msttcorefonts/arial.ttf");
engine.loadGlyph('A');
engine.loadGlyph(66);
engine.loadGlyph(67);
return 0;
}