summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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. */