update sizeWithFont: method to newer sizeWithAttributes