You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the feature relevant to the Firefox PDF Viewer?
Yes
Feature description
I have searched past issues and found similar ones, but not one that addresses this exact issue.
Here is the test PDF, it is the same one referenced (long ago) in #7833.
STR
Open the test PDF in PDF.js viewer
Copy the first few lines of the abstract
Paste it in a text editor
Obtained output
Lines are broken as they are wrapped visually:
This paper considers DoS attacks on DNS wherein attackers flood
the nameservers of a zone to disrupt resolution of resource records
belonging to the zone and consequently, any of its sub-zones. We
propose a minor change in the caching behavior of DNS resolvers
that can significantly alleviate the impact of such attacks [...]
Requested behaviour
It would be useful, while copying and pasting, if the lines are not broken but forms a logical paragraph.
This paper considers DoS attacks on DNS wherein attackers flood the nameservers of a zone to disrupt resolution of resource records belonging to the zone and consequently, any of its sub-zones. We propose a minor change in the caching behavior of DNS resolvers that can significantly alleviate the impact of such attacks [...]
I haven't checked it in Adobe Acrobat reader.
The text was updated successfully, but these errors were encountered:
I will also add a small observation, in case it helps:
I saw it mentioned that <div> was replaced by <span> to aid continuous text selection. But now there are also <br role="presentation"> tags in between the spans, which seems to be the culprit. When I copied two lines after removing the <br> between them, they came together.
But this is not a solution, as it also removes any spaces actually needed between consecutive words in adjacent lines...
Is the feature relevant to the Firefox PDF Viewer?
Yes
Feature description
I have searched past issues and found similar ones, but not one that addresses this exact issue.
Here is the test PDF, it is the same one referenced (long ago) in #7833.
STR
Obtained output
Lines are broken as they are wrapped visually:
Requested behaviour
It would be useful, while copying and pasting, if the lines are not broken but forms a logical paragraph.
OS and browser
macOS Sonoma 14.6, Firefox Developer Edition 133.0b9 (aarch64), PDF.js 4.8.30 [bde36f2]
Other PDF viewers
Behaviour in macOS Preview
Lines are not broken:
I haven't checked it in Adobe Acrobat reader.
The text was updated successfully, but these errors were encountered: