diff options
Diffstat (limited to 'gtk/print.c')
-rw-r--r-- | gtk/print.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/print.c b/gtk/print.c index e5e9e847f..a6e639996 100644 --- a/gtk/print.c +++ b/gtk/print.c @@ -39,9 +39,8 @@ #include "desktop/plotters.h" #include "desktop/print.h" #include "desktop/printer.h" -#include "desktop/font.h" -#include "gtk/font_pango.h" +#include "gtk/layout_pango.h" #include "gtk/bitmap.h" #include "gtk/print.h" #include "gtk/scaffolding.h" @@ -562,8 +561,8 @@ void gtk_print_signal_begin_print (GtkPrintOperation *operation, settings->margins[MARGINRIGHT] = 0; settings->page_width = gtk_print_context_get_width(context); settings->page_height = gtk_print_context_get_height(context); - settings->scale = 0.7;/*at 0.7 the pages look the best*/ - settings->font_func = &nsfont; + settings->scale = 0.7; /* at 0.7 the pages look the best */ + settings->font_func = nsgtk_layout_table; if (print_set_up(content_to_print, >k_printer, settings, &height_to_print) == false) { |