summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/font.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/font.c b/render/font.c
index a88df51f..3d2e1ed9 100644
--- a/render/font.c
+++ b/render/font.c
@@ -116,6 +116,7 @@ static RrFont *openfont(const RrInstance *inst, gchar *fontstring)
PANGO_WEIGHT_ULTRABOLD);
}
+ /* get the style/slant */
if (FcPatternGetInteger(pat, "slant", 0, &ival) == FcResultMatch) {
if (ival == FC_SLANT_ITALIC)
pango_font_description_set_style(out->font_desc,