diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-04-30 13:11:22 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-04-30 13:11:22 +0000 |
| commit | f5ae256b77098d1505aa63dd78a044a732f9f717 (patch) | |
| tree | 9986f35d9a198d124bc658df835a34b1be3507f1 | |
| parent | 3be19aed9445f522caed8486c778a23c334d51cc (diff) | |
| download | puzzles-f5ae256b77098d1505aa63dd78a044a732f9f717.zip puzzles-f5ae256b77098d1505aa63dd78a044a732f9f717.tar.gz puzzles-f5ae256b77098d1505aa63dd78a044a732f9f717.tar.bz2 puzzles-f5ae256b77098d1505aa63dd78a044a732f9f717.tar.xz | |
Pango-derived fonts seem to generally look better if I ask for them
in bold.
[originally from svn r5709]
| -rw-r--r-- | gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |