font: draw backgrounds
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 30 May 2012 16:48:59 +0000 (18:48 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 30 May 2012 16:48:59 +0000 (18:48 +0200)
commitd17342982bfa2c31d371cc9590d0ff8a55bbfaa2
treef28a0a47de4edb9bf2f5898ed90a65266bd2504f
parent7129a9038ca1dc9f6176918a7746b7899beea276
font: draw backgrounds

The pango backend now correctly draws colored or uncolored backgrounds.
This is needed to support drawing cursors.

We currently do not optimize this for performance. In fact, this reduces
performance a lot and we could avoid drawing backgrounds if we cleared the
background to the same color before. However, this also means we currently
could move drawing the background into the console backend again. The
transparency feature is awful, anyway and I don't see any reason
supporting it.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/font_pango.c