From a0a2a40b47568b190bc51940519f9ba84c02fcad Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 28 Sep 2025 01:49:04 -0400 Subject: [PATCH] Update LoadSystemFonts function to clarify Linux compatibility - Added a comment to indicate that the LoadSystemFonts function is intended for loading Linux system fonts into ImGui. - Maintained the function for compatibility while ensuring it does not perform any operations on Linux, as system font loading is now handled by NFD (Native File Dialog). --- src/app/core/platform/font_loader.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/core/platform/font_loader.cc b/src/app/core/platform/font_loader.cc index a1acf587..d85e7c84 100644 --- a/src/app/core/platform/font_loader.cc +++ b/src/app/core/platform/font_loader.cc @@ -130,10 +130,13 @@ absl::Status ReloadPackageFont(const FontConfig& config) { return absl::OkStatus(); } +#ifdef __linux__ void LoadSystemFonts() { + // Load Linux System Fonts into ImGui // System font loading is now handled by NFD (Native File Dialog) // This function is kept for compatibility but does nothing } +#endif } // namespace core } // namespace yaze