Setting custom font paint flags for other widgets.