340 |
|
|
341 |
/* font width and height needed to calculate text position */ |
/* font width and height needed to calculate text position */ |
342 |
gpc = gnome_print_job_get_context (job); |
gpc = gnome_print_job_get_context (job); |
343 |
if (!gpc) g_error (_("Error while getting print context")); |
if (!gpc) g_error (_("Error while getting print environment")); |
344 |
|
|
345 |
gnome_print_config_get_page_size (config, &pwidth, &pheight); |
gnome_print_config_get_page_size (config, &pwidth, &pheight); |
346 |
if (font) |
if (font) |