Making font selection conditional and more logical