mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
7aad0dc32f
Signed-off-by: Diego Viola <diego.viola@gmail.com>
20 lines
475 B
C
20 lines
475 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
#define FF_DETECT_FONT_NUM_FONTS 4
|
|
|
|
typedef struct FFFontResult
|
|
{
|
|
/**
|
|
* Linux / BSD: Qt, GTK2, GTK3, GTK4
|
|
* MacOS: System, User, System Mono, User Mono
|
|
* Windows: Caption, Menu, Message, Status
|
|
* Other: Unset, Unset, Unset, Unset
|
|
*/
|
|
FFstrbuf fonts[FF_DETECT_FONT_NUM_FONTS];
|
|
FFstrbuf display;
|
|
} FFFontResult;
|
|
|
|
const char* ffDetectFont(FFFontResult* font);
|