It is because that function is deprecated in favor of a new function ”resource.get_text_metrics().
oh, i never knew that existed
also what are the 2 return properties of max_ascent and max_descent? their names aren’t really intuitive to me and i’ve never seen elaboration on them.