Commit c20433d6 authored by Matthias Clasen's avatar Matthias Clasen

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
parent 075d84b8
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
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment