summaryrefslogtreecommitdiffstats
path: root/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux.c')
-rw-r--r--linux.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/linux.c b/linux.c
index 2e37054a9..caf06b9f8 100644
--- a/linux.c
+++ b/linux.c
@@ -12,15 +12,22 @@
#include <unistd.h>
#include <pwd.h>
+// the DE should provide us with a default font and font size...
const char linux_system_divelist_default_font[] = "Sans";
const char *system_divelist_default_font = linux_system_divelist_default_font;
-const int system_divelist_default_font_size = 8;
+double system_divelist_default_font_size = -1.0;
void subsurface_OS_pref_setup(void)
{
// nothing
}
+bool subsurface_ignore_font(const char *font)
+{
+ // there are no old default fonts to ignore
+ return false;
+}
+
void subsurface_user_info(struct user_info *user)
{
struct passwd *pwd = getpwuid(getuid());