Add docstring for `.get_widths_and_lines`.