#include "libpspp/message.h"
#include "libpspp/temp-file.h"
#include "libpspp/version.h"
-#include "output/cairo.h"
+#include "output/cairo-chart.h"
#include "output/chart-item.h"
#include "output/driver-provider.h"
#include "output/message-item.h"
fh_get_file_name (fh)));
tex->chart_cnt = 1;
#ifdef HAVE_CAIRO
- parse_color (d, o, "background-color", "#FFFFFFFFFFFF", &tex->bg);
- parse_color (d, o, "foreground-color", "#000000000000", &tex->fg);
+ tex->bg = parse_color (opt (d, o, "background-color", "#FFFFFFFFFFFF"));
+ tex->fg = parse_color (opt (d, o, "foreground-color", "#000000000000"));
#endif
tex->file = fn_open (tex->handle, "w");
shipout (&tex->token_list, "}\\par\n\n");
break;
- case TEXT_ITEM_EJECT_PAGE:
- /* Nothing to do. */
- break;
-
case TEXT_ITEM_SYNTAX:
/* So far as I'm aware, this can never happen. */
default: