Instead of replicating the code from `measureTextHeight()`, can we just do both the width and height measurements at once using the Utils functions?