summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-02 02:01:41 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-02 02:01:41 +0000
commitb69dea4155ec9a51617f727e8bd0c6ff74d15570 (patch)
tree5af3fffe5a8b509142a31a268bed8a899f6c9a83
parent11a34bb3881dfcb3736e7aa8f8d8b0c64ba8d59a (diff)
downloadpango-b69dea4155ec9a51617f727e8bd0c6ff74d15570.tar.gz
For mini_font, set family to "monospace", not "mono-space" which didn't
2006-02-01 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c: For mini_font, set family to "monospace", not "mono-space" which didn't work!
-rw-r--r--ChangeLog5
-rw-r--r--pango/pangocairo-font.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e1906722..cc2c467e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-02-01 Behdad Esfahbod <behdad@gnome.org>
+ * pango/pangocairo-font.c: For mini_font, set family to "monospace",
+ not "mono-space" which didn't work!
+
+2006-02-01 Behdad Esfahbod <behdad@gnome.org>
+
* examples/xftview.c: Add a default_substitute function to set
correct dpi on the pattern.
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index fbba68e3..c36711d1 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -169,7 +169,7 @@ _pango_cairo_get_hex_box_info (PangoCairoFont *cfont)
size = pango_font_description_get_size (desc) / (1.*PANGO_SCALE);
mini_desc = pango_font_description_new ();
- pango_font_description_set_family_static (mini_desc, "mono-space");
+ pango_font_description_set_family_static (mini_desc, "monospace");
/* TODO: The stuff here should give a shit to whether it's
* absolute size or not. */