set font dynamically