Copy text from pdf content does not consider linefeed

Selecting and copying text from pdf, also using the sample at https://flutter.syncfusion.com/#/pdf-viewer/getting-started, text is catpture excluding linefeed ad separation between words.

Testing with first rows in pag 3 of flutter_succinctly.pdf ....

Select, copy and paste from acrobat you get...

Copyright © 2019 by Syncfusion, Inc. 
2501 Aerial Center Parkway
Suite 200
Morrisville, NC 27560
USA
All rights reserved.

Select, copy and paste from sfPdfViewer you get...

Copyright © 2019by Syncfusion,Inc.2501 Aerial Center ParkwaySuite 200Morrisville, NC 27560USAAll rightsreserved.

Could you optimize it?

At least copy linefeed as space?


Regards

Peter


5 Replies

DR Deepika Ravi Syncfusion Team November 1, 2021 12:24 PM UTC

Hi Pietro Beccegato, 
 
We are analyzing the feasibility of the requested enhancement and will update the further details by November 3, 2021. 
 
Regards, 
Deepika Ravi 



DR Deepika Ravi Syncfusion Team November 4, 2021 02:56 AM UTC

Hi Pietro Beccegato, 
 
We have checked the reported behavior in adobe and found that the SfPdfViewer behavior is the same as adobe behavior on a mobile platform. But your expected behavior is the adobe desktop platform. Could you please confirm on which platform you expect the reported behavior? This will be helpful to assist you better. 
 
Regards, 
Deepika Ravi 



PB Pietro Beccegato replied to Deepika Ravi November 8, 2021 10:20 AM UTC

I found the issue in web app on chrome



DR Deepika Ravi Syncfusion Team November 10, 2021 07:38 AM UTC

Hi Pietro Beccegato,


We are considered the” Copy text from SfPdfViewer content does not consider the linefeed in web” as an enhancement. This enhancement is expected to be implemented on our upcoming weekly package release which is estimated to be available on November 30, 2021 tentatively. Kindly use the below feedback link to track the status,

https://www.syncfusion.com/feedback/30216/include-linefeed-while-copying-pdf-content-in-desktop-platforms


Regards,

Deepika Ravi




DR Deepika Ravi Syncfusion Team November 30, 2021 12:00 PM UTC

Hi Pietro Beccegato,  
 
we have included the requested enhancement " Copy text from SfPdfViewer content does not consider the linefeed in web" in our latest weekly NuGet release, so kindly upgrade to the latest version v19.3.56. 
   
 
Regards,  
Deepika Ravi 


Loader.
Up arrow icon