Pango-derived fonts seem to generally look better if I ask for them

in bold.

[originally from svn r5709]
This commit is contained in:
Simon Tatham
2005-04-30 13:11:22 +00:00
parent 3be19aed94
commit f5ae256b77

1
gtk.c
View File

@ -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