Continue adding opengl font support.

This commit is contained in:
James Grogan 2022-11-15 15:50:36 +00:00
parent 649079a5c7
commit eef93efc29
37 changed files with 530 additions and 157 deletions

View file

@ -3,6 +3,7 @@
#include "IFontEngine.h"
#include "Image.h"
#include "FontGlyph.h"
class BasicFontEngine : public IFontEngine
{
@ -10,5 +11,5 @@ class BasicFontEngine : public IFontEngine
virtual void loadFontFace(const std::filesystem::path& fontFile, int penSize = 16){};
virtual std::unique_ptr<Image<unsigned char> > loadGlyph(unsigned charCode){return nullptr;};
virtual std::unique_ptr<FontGlyph> loadGlyph(unsigned charCode){return nullptr;};
};