Rotativa icon indicating copy to clipboard operation
Rotativa copied to clipboard

Update to wkhtmltopdf version 0.12.6

Open JoopStringer opened this issue 5 years ago • 4 comments

Hi Gio,

Any idea if you're going to update rotativa to support wkhtmltopdf 0.12.6, which was released on June 11, 2020 ? It supports JS/jQuery etc !

Would be nice !

Joop

JoopStringer avatar Jun 24 '20 19:06 JoopStringer

Hi Joop, Hey didn't know that... Certenly going to do it, not sure I'll have time before going on vacation, though. Ciao, Giorgio

Il mer 24 giu 2020, 21:32 Joop Stringer [email protected] ha scritto:

Hi Gio,

Any idea if you're going to update rotativa to support wkhtmltopdf 0.12.6, which was released on June 11, 2020 ? It supports JS/jQuery etc !

Would be nice !

Joop

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/webgio/Rotativa/issues/218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCTPNOGITUMR73UD3XRRDRYJIFDANCNFSM4OHEOEEA .

webgio avatar Jun 24 '20 19:06 webgio

I just replaced the old wkhtmltopdf with the new and it works ... only need to change the special character replacement function you have. It now replace all chars above ASCII 127 ... and it should not !

JoopStringer avatar Jun 24 '20 20:06 JoopStringer

@webgio would you be able to give this issue a high priority? 2 days ago wkhtmltopdf 0.12.5 suddenly stopped working for me on prod server ( not sure what caused it, might be widows got patched or something like that) Replaced the executable with new version and everything worked.

mebymyself avatar Sep 17 '21 18:09 mebymyself

@mebymyself my problem with this is that changing wkhtmltopdf could break someone's PDF. Maybe a nice solution would be to just make switching version easy as changing/adding a config setting. Would you be interested to try to make a PR for this? Maybe we could include 2 or 3 different versions of wkhtmltopdf, set one as default but enable switching by adding a config settings. What do you think? Would really appreciate it!

webgio avatar Sep 19 '21 14:09 webgio