eKoopmans / html2pdf.js

Client-side HTML-to-PDF rendering using pure JS.
MIT License
3.92k stars 1.37k forks source link

Just stops on "Starting renderer" without any error? #667

Open that-ben opened 9 months ago

that-ben commented 9 months ago

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.

eschsoftware commented 8 months ago

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.

ellersgaard commented 7 months ago

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).