Use monospace as font name, not mono. Patch by Yevgen Muntyan.

* demos/gtk-demo/printing.c: Use monospace as font name,
        not mono. Patch by Yevgen Muntyan.


svn path=/trunk/; revision=20746
This commit is contained in:
Matthias Clasen 2008-07-03 17:35:50 +00:00
parent 075d84b88a
commit c20433d644
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 535498 Printing demo broken
* demos/gtk-demo/printing.c: Use monospace as font name,
not mono. Patch by Yevgen Muntyan.
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 538547 Update doc-shooter in gtk documentation

View File

@ -112,7 +112,7 @@ draw_page (GtkPrintOperation *operation,
layout = gtk_print_context_create_pango_layout (context);
desc = pango_font_description_from_string ("mono");
desc = pango_font_description_from_string ("monospace");
pango_font_description_set_size (desc, data->font_size * PANGO_SCALE);
pango_layout_set_font_description (layout, desc);
pango_font_description_free (desc);