diff options
author | Christian Persch <chpe@gnome.org> | 2009-12-01 17:42:08 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2009-12-01 17:42:08 +0100 |
commit | 394f698e4e216432a7fe4e4c17a9adc0517e8ecb (patch) | |
tree | 5fd9216d7675241fecab75f2d12d81c81b7d469a /gtk/gtkprintoperation-unix.c | |
parent | a42107389f1ff4097b0671f2d74819bd531b3c29 (diff) | |
download | gtk+-394f698e4e216432a7fe4e4c17a9adc0517e8ecb.tar.gz |
Add comment explaining why we set the hard margins to 0 for n-up
Bug #468989 comment 28.
Diffstat (limited to 'gtk/gtkprintoperation-unix.c')
-rw-r--r-- | gtk/gtkprintoperation-unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 19e5644f1d..a9b41437c4 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -549,6 +549,10 @@ finish_print (PrintResponseData *rdata, if (gtk_printer_get_hard_margins (printer, &top, &bottom, &left, &right)) _gtk_print_context_set_hard_margins (priv->print_context, top, bottom, left, right); } else { + /* Pages do not have any unprintable area when printing n-up as each page on the + * sheet has been scaled down and translated to a position within the printable + * area of the sheet. + */ _gtk_print_context_set_hard_margins (priv->print_context, 0, 0, 0, 0); } |