Initial freetype support.
This commit is contained in:
parent
c10c5412b9
commit
a4d3019f04
9 changed files with 118 additions and 1 deletions
|
@ -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)
|
||||
|
|
13
test/fonts/TestFreeTypeFontEngine.cpp
Normal file
13
test/fonts/TestFreeTypeFontEngine.cpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
#include "FreeTypeFontEngine.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
FreeTypeFontEngine engine;
|
||||
engine.run();
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue