enum emphasis_style emphasis; /* How to emphasize text. */
char *chart_file_name; /* Name of files used for charts. */
+#ifdef HAVE_CAIRO
/* Colours for charts */
struct xr_color fg;
struct xr_color bg;
-
+#endif
int width; /* Page width. */
int length; /* Page length minus margins and header. */
a->auto_width = a->width < 0;
a->auto_length = paper_length < 0;
a->length = paper_length - vertical_margins (a);
-
+#ifdef HAVE_CAIRO
parse_color (d, o, "background-color", "#FFFFFFFFFFFF", &a->bg);
parse_color (d, o, "foreground-color", "#000000000000", &a->fg);
-
+#endif
box = parse_enum (opt (d, o, "box", "ascii"),
"ascii", BOX_ASCII,
"unicode", BOX_UNICODE,
struct html_driver
{
struct output_driver driver;
-
+#ifdef HAVE_CAIRO
struct xr_color fg;
struct xr_color bg;
-
+#endif
char *file_name;
char *chart_file_name;
file_name));
html->file = NULL;
html->chart_cnt = 1;
-
+#ifdef HAVE_CAIRO
parse_color (d, o, "background-color", "#FFFFFFFFFFFF", &html->bg);
parse_color (d, o, "foreground-color", "#000000000000", &html->fg);
-
+#endif
html->file = fn_open (html->file_name, "w");
if (html->file == NULL)
{