From: Dana Jansens Date: Sun, 4 Mar 2007 01:08:33 +0000 (+0000) Subject: use font 8point by default if none is specified X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ac6fe9800850a4ce31efc610720099b60c2b7ff2;p=chaz%2Fopenbox use font 8point by default if none is specified --- 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;