def text_height(text):
    """Return the total height of the <text> and the length from the
    base point to the top of the text box."""
    (d1, d2, ymin, ymax) = get_dimension(text)
    return (ymax - ymin, ymax)
Return the total height of the <text> and the length from the
    base point to the top of the text box.