diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-03-16 22:30:34 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-03-16 22:30:34 +0100 |
commit | 620b7da4f4b002ac0fdb6e5663c6db392e7a59dd (patch) | |
tree | cd410c7085ff3feddfd8aa042e48dbf622679978 /src/sc_interp.c | |
parent | 8d69fd3d476179768d9e13d79261c5a1a7cacda4 (diff) |
Final fixes for text in empty frame
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r-- | src/sc_interp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c index 9226c76..70317a6 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -834,7 +834,11 @@ static int check_outputs(SCBlock *bl, SCInterpreter *scin) return 1; } - fr->fontdesc = sc_interp_get_fontdesc(scin); + fr->fontdesc = pango_font_description_copy(sc_interp_get_fontdesc(scin)); + fr->col[0] = sc_interp_get_fgcol(scin)[0]; + fr->col[1] = sc_interp_get_fgcol(scin)[1]; + fr->col[2] = sc_interp_get_fgcol(scin)[2]; + fr->col[3] = sc_interp_get_fgcol(scin)[3]; parse_frame_options(fr, sc_interp_get_frame(scin), options); |