merge TypesetLine and TypesetParagraph before starting improving how it works