Font: add support for Windows

This commit is contained in:
李通洲
2022-10-07 22:04:41 +08:00
parent 0a55071f88
commit cc490294e9
4 changed files with 59 additions and 4 deletions
+10
View File
@@ -40,6 +40,16 @@ static void printFont(const FFFontResult* font)
printf("%s [User]", font->fonts[1].chars);
}
#elif defined(_WIN32) || defined(__CYGWIN__)
static void printFont(const FFFontResult* font)
{
if(font->fonts[0].length > 0)
{
printf("%s [Desktop]", font->fonts[0].chars);
}
}
#else
static void printFont(const FFFontResult* font)