Commit 5d0421f6 authored by Matthias Clasen's avatar Matthias Clasen

One more

svn path=/trunk/; revision=20747
parent c20433d6
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
Bug 535498 – Printing demo broken Bug 535498 – Printing demo broken
* demos/gtk-demo/printing.c: Use monospace as font name, * 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> 2008-07-03 Matthias Clasen <mclasen@redhat.com>
......
...@@ -123,7 +123,7 @@ draw_page (GtkPrintOperation *operation, ...@@ -123,7 +123,7 @@ draw_page (GtkPrintOperation *operation,
{ {
pango_layout_set_text (layout, data->lines[line], -1); pango_layout_set_text (layout, data->lines[line], -1);
pango_cairo_show_layout (cr, layout); pango_cairo_show_layout (cr, layout);
cairo_rel_move_to (cr, 0, text_height); cairo_rel_move_to (cr, 0, data->font_size);
line++; line++;
} }
......
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