Use try-catch block for font loading