Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
5d0421f6
Commit
5d0421f6
authored
Jul 03, 2008
by
Matthias Clasen
Browse files
One more
svn path=/trunk/; revision=20747
parent
c20433d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
5d0421f6
...
...
@@ -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>
...
...
demos/gtk-demo/printing.c
View file @
5d0421f6
...
...
@@ -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
++
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment