You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
399 B
18 lines
399 B
#include <assert.h>
|
|
#include <fontconfig/fontconfig.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
int main(void)
|
|
{
|
|
FcInit();
|
|
printf("Found Fontconfig.\n");
|
|
|
|
char fontconfig_version_string[16];
|
|
snprintf(fontconfig_version_string, 16, "%i.%i.%i", FC_MAJOR, FC_MINOR,
|
|
FC_REVISION);
|
|
assert(
|
|
strcmp(fontconfig_version_string, CMAKE_EXPECTED_FONTCONFIG_VERSION) == 0);
|
|
return 0;
|
|
}
|