Update sizeWithFont to sizeWithAttributes