[okular] [Bug 451762] New: Select with Layout
flywire
bugzilla_noreply at kde.org
Mon Mar 21 12:14:29 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=451762
Bug ID: 451762
Summary: Select with Layout
Product: okular
Version: unspecified
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: flywire0 at gmail.com
Target Milestone: ---
When I select text from a pdf the layout is lost. I'd like to select text and
paste to a text editor with leading and trailing spaces and blank lines.
I want to select some lines from a file with the gui but I can demonstrate it
with the following file. Decoding the pdf file clearly shows the layout with
leading and trailing spaces and a blank line:
```
stream
/F1 10 Tf
BT
40 763.07751 Td
0 -11.0775 Td
(Lorem ipsum dolor sit amet,) Tj
0 -11.0775 Td
( consectetur adipiscing ) Tj
0 -11.0775 Td
() Tj
0 -11.0775 Td
(elit. sed do eiusmod) Tj
ET
endstream
```
```
>pdftotext -layout -nopgbrk test.pdf -
Lorem ipsum dolor sit amet,
consectetur adipiscing
elit. sed do eiusmod
```
copy/paste wth okular loses the layout:
```
Lorem ipsum dolor sit amet,
consectetur adipiscing
elit. sed do eiusmod
```
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list