chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be19ae
)
Pango-derived fonts seem to generally look better if I ask for them
author
Simon Tatham
<anakin@pobox.com>
Sat, 30 Apr 2005 13:11:22 +0000
(13:11 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 30 Apr 2005 13:11:22 +0000
(13:11 +0000)
in bold.
[originally from svn r5709]
gtk.c
patch
|
blob
|
history
diff --git
a/gtk.c
b/gtk.c
index 93a81d2b7d382db769d6e92d733fd0285b0bcef5..b85cfa9bc2d3829c082ad95f3ac5c72999f561e7 100644
(file)
--- 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