Initial freetype support.

This commit is contained in:
James Grogan 2022-11-10 20:35:00 +00:00
parent c10c5412b9
commit a4d3019f04
9 changed files with 118 additions and 1 deletions

View file

@ -56,6 +56,15 @@ if (DBUS_FOUND)
)
endif()
if(UNIX)
find_package(Freetype QUIET)
if(Freetype_FOUND)
list(APPEND TestFiles
fonts/TestFreeTypeFontEngine.cpp
)
endif()
endif()
foreach(TestFile ${TestFiles})
cmake_path(GET TestFile FILENAME TestFileName)
cmake_path(GET TestFileName STEM TestName)

View file

@ -0,0 +1,13 @@
#include "FreeTypeFontEngine.h"
#include <iostream>
int main()
{
FreeTypeFontEngine engine;
engine.run();
return 0;
}