mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
One more
svn path=/trunk/; revision=20747
This commit is contained in:
parent
c20433d644
commit
5d0421f6c3
@ -3,7 +3,8 @@
|
||||
Bug 535498 – Printing demo broken
|
||||
|
||||
* demos/gtk-demo/printing.c: Use monospace as font name,
|
||||
not mono. Patch by Yevgen Muntyan.
|
||||
not mono. Also use the right advance when moving from line to line.
|
||||
Patch by Yevgen Muntyan.
|
||||
|
||||
2008-07-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
@ -123,7 +123,7 @@ draw_page (GtkPrintOperation *operation,
|
||||
{
|
||||
pango_layout_set_text (layout, data->lines[line], -1);
|
||||
pango_cairo_show_layout (cr, layout);
|
||||
cairo_rel_move_to (cr, 0, text_height);
|
||||
cairo_rel_move_to (cr, 0, data->font_size);
|
||||
line++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user