marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 545 forks source link

invalid characters in pdf #613

Open viksat7 opened 3 years ago

viksat7 commented 3 years ago

The plugin is working fine for more than 5 months in our production server application but on Sunday 14th March two pdf got the below text in the output, i don't know what to call this type of text output. Only two pdf was having this text issue rest pdf correctly created till date.

2ept D Tak Ras adht Jt y Taks pooakt K r JKe 2JdKat u f a0hihT gkJiwJt y &aoJhKTC r h psh whiJyeKhw Tak epBh oea0ht Ka 0pBh r JKe k0, 2a oa1 dihKh Taks shyJ0KspKJat dihp0h adht Keh pddCJt dkK Taks kt Jvkh .c t k1 mhs 1E01- 6 pt w Raiiar Keh Jt 0KskoKJat 0, qaks kt Jvkh .c J0 J1 dasKpt K pt w 1 pT mh shvkJshw Ka piiar pooh00 Ka aKehs pshp0 aR Keh Ndd Jt RkKksh, Gihp0h Dhhd JK 0pRh pt w wa t aK 0epsh JK r JKe pt Tat h hi0h, .R Tak epBh t aK pishpwT dpJw Jt Ka Keh pooakt KCTak epBh 7I wpT0 Rsa1 adht Jt y Taks pooakt K Ka ht pmih Tak Ka KpDh pwBpt Kpyh aR Keh Jt Khsh0K spKh t ar , 2a 0ht w Taks Rkt w0 p0 pt hihoKsat Jo dpT1 ht KCdihp0h k0h Keh Raiiar Jt y whKpJi0b