diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-09-09 21:54:23 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-09-09 21:54:23 +0200 |
commit | 31e22436e4cb240c3055e01c443c2655271a3e03 (patch) | |
tree | a48bb0fed610dd1c51530543654e71222312f0d8 | |
parent | c0b4e3d79cda1fb41139f69bbadf87661ee5b0ea (diff) |
Honour final defaults in style sheet
-rw-r--r-- | src/sc_interp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c index be7c471..8e5868e 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -789,6 +789,14 @@ void sc_interp_run_stylesheet(SCInterpreter *scin, SCBlock *bl) if ( (name != NULL) && (strcmp(name, "ss") == 0) ) { try_add_macro(scin, options, sc_block_child(bl)); + + } else if ( name == NULL ) { + + } else if ( strcmp(name, "font") == 0 ) { + set_font(scin, options); + + } else if ( strcmp(name, "fgcol") == 0 ) { + set_colour(scin, options); } bl = sc_block_next(bl); |