eKoopmans / html2pdf.js

Client-side HTML-to-PDF rendering using pure JS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just stops on "Starting renderer" without any error?

that-ben opened this issue · comments

commented

For some reason it stalls at: 18aad95dfca 2024ms Starting renderer
Then it doesn't do anything, no error, no hang, it just stops there as if the job was finished and never outputs any PDF.
I can print the HTML using the browser but the PDF is never generated.

I had the same issue.

The hang was traced back to a ligature issue where the German character 'ß' was transformed to 'SS' when converted to uppercase (text-transform: uppercase;).

I replaced the 'ß' character with 'ss' directly in the text.

Think I have the same issue: "Starting renderer for element at 626.9166870117188,0 with size 787x28156", then nothing.....
I thought it was the canvas size, but according to this (https://github.com/jhildenbiddle/canvas-size#test-results), that does not seem to be the case (testing in Firefox).