added anti-alias flag for text