Strange behaviour when select and copy text from generated PDF
-
I am facing some problems with the pdf generated by jsreport. basically the pdf is a bunch o text rendered using {{{ text }}} we use this to keep break lines. The PDF file is rendered with no problems until our users need to select some piece of text from these PDF. The selection is strange (non linear, and appear to be selecting letters individually) and the text copied from this PDF is all broken in several lines. Did anyone face something like that before ?!
Try to copy the text from this:
https://playground.jsreport.net/studio/workspace/ryW3-I0pZ/4
-
I think its probably because of phantomjs version. Update the latest one and your problem is solved.
-
-
Thanks for your attention @projectmavericks
I changed it in the playground and still with problem, I am using chrome v61 but the problem also happens with firefox.
checkout this image http://tucujuris.tjap.jus.br/tucujuris/img/jsreport.png
-
@herbertpimentel - check this https://playground.jsreport.net/studio/workspace/ryW3-I0pZ/14.
Added basic html. I believe that changing to 2.1.1 should have solved your problem. I tested on Firefox 56.0.1 and Edge. It worked on both PFB -
problem with text selection.pdf