aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r--src/sc_interp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index eb09063..2e95e8c 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -1191,11 +1191,21 @@ int sc_interp_add_blocks(SCInterpreter *scin, SCBlock *bl)
set_italic(scin);
maybe_recurse_after(scin, child);
+ } else if ( strcmp(name, "lalign") == 0 ) {
+ maybe_recurse_before(scin, child);
+ set_alignment(scin, PANGO_ALIGN_LEFT);
+ maybe_recurse_after(scin, child);
+
} else if ( strcmp(name, "ralign") == 0 ) {
maybe_recurse_before(scin, child);
set_alignment(scin, PANGO_ALIGN_RIGHT);
maybe_recurse_after(scin, child);
+ } else if ( strcmp(name, "center") == 0 ) {
+ maybe_recurse_before(scin, child);
+ set_alignment(scin, PANGO_ALIGN_CENTER);
+ maybe_recurse_after(scin, child);
+
} else if ( strcmp(name, "fgcol") == 0 ) {
maybe_recurse_before(scin, child);
set_colour(scin, options);