mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 18:46:00 +01:00
no need to manipulate scale while printing
This commit is contained in:
parent
97cad5a7a4
commit
45366ecadd
1 changed files with 0 additions and 6 deletions
6
print.c
6
print.c
|
@ -89,11 +89,5 @@ cb_print_draw_page(GtkPrintOperation* UNUSED(print_operation), GtkPrintContext*
|
|||
return;
|
||||
}
|
||||
|
||||
double requested_with = gtk_print_context_get_width(context);
|
||||
double tmp_scale = zathura->document->scale;
|
||||
zathura->document->scale = requested_with / page->width;
|
||||
|
||||
zathura_page_render(page, cairo);
|
||||
|
||||
zathura->document->scale = tmp_scale;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue