mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
26 lines
579 B
C
26 lines
579 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_font_font
|
|
#define FF_INCLUDED_detection_font_font
|
|
|
|
#include "fastfetch.h"
|
|
|
|
#define FF_DETECT_FONT_NUM_FONTS 4
|
|
|
|
typedef struct FFFontResult
|
|
{
|
|
FFstrbuf error;
|
|
|
|
/**
|
|
* 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];
|
|
} FFFontResult;
|
|
|
|
const FFFontResult* ffDetectFont(const FFinstance* instance);
|
|
|
|
#endif
|