Index: pango/fonts.c
===================================================================
RCS file: /cvs/gnome/pango/pango/fonts.c,v
retrieving revision 1.64
diff -u -p -r1.64 fonts.c
--- pango/fonts.c	16 Dec 2004 03:24:07 -0000	1.64
+++ pango/fonts.c	9 Feb 2005 01:24:08 -0000
@@ -999,6 +999,7 @@ char *
 pango_font_description_to_string (const PangoFontDescription  *desc)
 {
   GString *result = g_string_new (NULL);
+  char last_char;
 
   if (desc->family_name && desc->mask & PANGO_FONT_MASK_FAMILY)
     {
@@ -1020,16 +1021,20 @@ pango_font_description_to_string (const 
   if (result->len == 0)
     g_string_append (result, "Normal");
 
+  last_char = result->str[result->len - 1];
+
   if (desc->mask & PANGO_FONT_MASK_SIZE)
     {
       char buf[G_ASCII_DTOSTR_BUF_SIZE];
       
-      if (result->len > 0 || result->str[result->len -1] != ' ')
+      if (last_char != ' ')
 	g_string_append_c (result, ' ');
 
       g_ascii_dtostr (buf, sizeof (buf), (double)desc->size / PANGO_SCALE);
       g_string_append (result, buf);
     }
+  else if (g_ascii_isdigit (last_char) || last_char == '.')
+    g_string_append_c (result, ',');
   
   return g_string_free (result, FALSE);
 }
