there are some problems with get_line_width() and li,canvas positions