mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Pango-derived fonts seem to generally look better if I ask for them
in bold. [originally from svn r5709]
This commit is contained in:
1
gtk.c
1
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 */
|
/* `Monospace' and `Sans' are meta-families guaranteed to exist */
|
||||||
pango_font_description_set_family(fd, fonttype == FONT_FIXED ?
|
pango_font_description_set_family(fd, fonttype == FONT_FIXED ?
|
||||||
"Monospace" : "Sans");
|
"Monospace" : "Sans");
|
||||||
|
pango_font_description_set_weight(fd, PANGO_WEIGHT_BOLD);
|
||||||
/*
|
/*
|
||||||
* I found some online Pango documentation which
|
* I found some online Pango documentation which
|
||||||
* described a function called
|
* described a function called
|
||||||
|
Reference in New Issue
Block a user