Respect forground and background options when writing PNG charts.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 19 Oct 2013 12:20:38 +0000 (14:20 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 19 Oct 2013 12:20:38 +0000 (14:20 +0200)
commitb51ab36f5a828654ed03e96c90a1241852f6d70c
tree4006733a91ca37b2e78c88c95db760a64f924e13
parentd036c4b79922f2339e7db9d0aef7ecad5e93bd91
Respect forground and background options when writing PNG charts.

The default colours for charts in PNG format was black on black,
which wasn't very useful.  This change makes the defaults black
on white.

Perhaps for png charts intended for embedding in HTML it should be
black on transparent, but this hasn't been implemented in this change.

Fixes bugs #40107 and #40208
src/output/ascii.c
src/output/cairo.c
src/output/cairo.h
src/output/html.c