Move Font configuration in UI class.