eKoopmans / html2pdf.js

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

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

Open that-ben opened 1 year ago

that-ben commented 1 year 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 1 year 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 11 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).

rochapablo commented 2 weeks ago

+1