From ac6fe9800850a4ce31efc610720099b60c2b7ff2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 4 Mar 2007 01:08:33 +0000 Subject: [PATCH] use font 8point by default if none is specified --- render/font.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render/font.c b/render/font.c index 3d2e1ed9..a63c8ca5 100644 --- a/render/font.c +++ b/render/font.c @@ -132,6 +132,8 @@ static RrFont *openfont(const RrInstance *inst, gchar *fontstring) else if (FcPatternGetInteger(pat, "pixelsize", 0, &ival) == FcResultMatch) pango_font_description_set_absolute_size(out->font_desc, ival * PANGO_SCALE); + else + pango_font_description_set_size(out->font_desc, 8 * PANGO_SCALE); if (FcPatternGetBool(pat, OB_SHADOW, 0, &out->shadow) != FcResultMatch) out->shadow = FALSE; -- 2.45.2