Grayscale antialiasing

Signed-off-by: Vaclav Vancura <vaclav@vancura.org>