rename textwidth to draw_textwidth