Handling possibility of null font type