If it was not, we wouldn't reach this, font would have been null and returned earlier in the function