It looks like we have found the problem. In our CSS, we have “position: relative” style on a

    tag that wraps almost the entire document (~1700 pages). So I’m guessing that that after the document was basically created, this was causing PD4ML go back and try to shift every character or element in the PDF. Once we removed this stye then everything seemed to work fine and it generated the PDF from HTML in a reasonable amount of time.