Render text (ASCII / HTML) to JavaScript canvas, taking care of line-breaks, word-wrap, margins etc ...