forked from AuroraMiddleware/gtk
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
|
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,
|
|||||||
{
|
{
|
||||||
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++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user