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:
parent
075d84b88a
commit
c20433d644
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user