diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-23 23:33:37 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-23 23:33:37 +0100 |
commit | 922faa743b16fcfe661d18be9efcaf329186fbe9 (patch) | |
tree | e73535ee28dd9101834f6d3564d027af6ca3cc88 /gtk/print.c | |
parent | 974a4a21e16a2da85a66aae9b80eeca15ca26dd6 (diff) | |
download | netsurf-922faa743b16fcfe661d18be9efcaf329186fbe9.tar.gz netsurf-922faa743b16fcfe661d18be9efcaf329186fbe9.tar.bz2 |
Update gtk frontend to use layout table
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) { |