From f5ae256b77098d1505aa63dd78a044a732f9f717 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 30 Apr 2005 13:11:22 +0000 Subject: [PATCH] Pango-derived fonts seem to generally look better if I ask for them in bold. [originally from svn r5709] --- gtk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk.c b/gtk.c index 93a81d2..b85cfa9 100644 --- a/gtk.c +++ b/gtk.c @@ -170,6 +170,7 @@ void draw_text(frontend *fe, int x, int y, int fonttype, int fontsize, /* `Monospace' and `Sans' are meta-families guaranteed to exist */ pango_font_description_set_family(fd, fonttype == FONT_FIXED ? "Monospace" : "Sans"); + pango_font_description_set_weight(fd, PANGO_WEIGHT_BOLD); /* * I found some online Pango documentation which * described a function called -- 2.30.2