From 4823142b49d607084f22da96cad413f2d52c2ee2 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Fri, 25 Dec 2015 15:02:58 +0100 Subject: Use default font "Monospace" is a font name reserved for default monospace font, which is supposed to be set to particular font user prefers. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 2248f83..f505384 100644 --- a/src/main.c +++ b/src/main.c @@ -46,7 +46,7 @@ struct { char *overlay_str; const char *start_at; const char *font; -} g_options = {0,0,0,0,0,1,0,0,0,0,0,0,NULL,NULL,"FreeMono:24"}; +} g_options = {0,0,0,0,0,1,0,0,0,0,0,0,NULL,NULL,"Monospace:24"}; void print_usage(const char* name) { -- cgit v1.2.3 From c681f5c58ee663b7730640c5b64c39774775d423 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Fri, 25 Dec 2015 23:48:59 +0100 Subject: Document default font in manual Also reference the fonts.conf(5) manual, which explains fonts configuration. --- doc/imv.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/imv.1 b/doc/imv.1 index 2a6f867..ff6f661 100644 --- a/doc/imv.1 +++ b/doc/imv.1 @@ -45,7 +45,8 @@ Set the background color. Either 'checks' or a hex color value. Defaults to '#00 .TP .BI "-e " FONT:SIZE Set the font used by the overlay. FONT can be any valid system font, such as -FreeSans, FreeMono, etc. Defaults to FreeMono:24. +FreeSans, FreeMono, etc. Defaults to "Monospace:24", which is default monospace font, as configured in +.BR fonts.conf (5). .TP .BI "-t " SECONDS Set the slideshow delay in seconds. Setting this to zero disables slideshow -- cgit v1.2.3 From 54560c988d2b420acb72c81ebf49818603af9591 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Fri, 25 Dec 2015 23:50:18 +0100 Subject: Document default font change in help text --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index f505384..37cb293 100644 --- a/src/main.c +++ b/src/main.c @@ -67,7 +67,7 @@ void print_usage(const char* name) "Options:\n" " -n : Start at picture number NUM, or with the path PATH.\n" " -b BG: Set the background. Either 'checks' or a hex color value.\n" - " -e FONT:SIZE: Set the font used for the overlay. Defaults to FreeMono:24\n" + " -e FONT:SIZE: Set the font used for the overlay. Defaults to Monospace:24\n" " -t SECONDS: Enable slideshow mode and set delay between images" "\n" "Mouse:\n" -- cgit v1.2.3