mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
Add comment explaining why we set the hard margins to 0 for n-up
Bug #468989 comment 28.
This commit is contained in:
parent
a42107389f
commit
394f698e4e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user