summaryrefslogtreecommitdiff
path: root/desktop/options.c
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2006-03-31 10:41:21 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2006-03-31 10:41:21 +0000
commitb875473027eeccb9233fbdcd7bb6516de301d4c0 (patch)
treebe94db40a24720b6b174f158e2c9746562274284 /desktop/options.c
parent5d434ff0023f97b694d87d5dd4a498357a011f78 (diff)
downloadnetsurf-b875473027eeccb9233fbdcd7bb6516de301d4c0.tar.gz
netsurf-b875473027eeccb9233fbdcd7bb6516de301d4c0.tar.bz2
[project @ 2006-03-31 10:41:21 by rjek]
Move default font face choices from RISC OS front end to core svn path=/import/netsurf/; revision=2482
Diffstat (limited to 'desktop/options.c')
-rw-r--r--desktop/options.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/options.c b/desktop/options.c
index 71c6f1b91..448bb78f7 100644
--- a/desktop/options.c
+++ b/desktop/options.c
@@ -52,6 +52,16 @@ char *option_http_proxy_auth_pass = 0;
int option_font_size = 100;
/** Minimum font size. */
int option_font_min_size = 70;
+/** Default sans serif font */
+char *option_font_sans;
+/** Default serif font */
+char *option_font_serif;
+/** Default monospace font */
+char *option_font_mono;
+/** Default cursive font */
+char *option_font_cursive;
+/** Default fantasy font */
+char *option_font_fantasy;
/** Accept-Language header. */
char *option_accept_language = 0;
/** Preferred maximum size of memory cache / bytes. */
@@ -107,6 +117,11 @@ struct {
{ "http_proxy_auth_pass", OPTION_STRING, &option_http_proxy_auth_pass },
{ "font_size", OPTION_INTEGER, &option_font_size },
{ "font_min_size", OPTION_INTEGER, &option_font_min_size },
+ { "font_sans", OPTION_STRING, &option_font_sans },
+ { "font_serif", OPTION_STRING, &option_font_serif },
+ { "font_mono", OPTION_STRING, &option_font_mono },
+ { "font_cursive", OPTION_STRING, &option_font_cursive },
+ { "font_fantasy", OPTION_STRING, &option_font_fantasy },
{ "accept_language", OPTION_STRING, &option_accept_language },
{ "memory_cache_size", OPTION_INTEGER, &option_memory_cache_size },
{ "disc_cache_age", OPTION_INTEGER, &option_disc_cache_age },