https://bugs.freedesktop.org/show_bug.cgi?id=52229

stfhell <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from stfhell <[email protected]> ---
I attached some sample document in a ZIP file.

I used Adobe Reader 9.4.2 on 64-bit-Linux (Ubuntu 12.04).

There are 2 issues here with inserting text from Adobe Reader. It may not
convern other PDF-viewers like "evince", but this doesn't necessarily have to
do with a bug in Adobe Reader. I think a statement like "It's generally
difficult to copy/paste from AR, often formatting can't be read. That's not
specific to LibO, but to PDF" is no longer true. (There are some problems with
hard line-breaks or hyphens, but generally copy-and-paste from PDF has become
fairly easy.)

Adobe Reader copies text _with_ formatting information into the clipboard
(which can be quite useful). If you paste it into LO via Ctrl-V there are 3
issues, really:

(1) Special characters (éÉÄÖÜß) are misread and converted into 2-character
sequences (probably a conversion from the wrong code set?). This is a very old
bug.

(2) The text from the clipboard is inserted at the wrong place (in the sample
documents: at the end of the document), and the document's page settings are
changed. This is a new bug, introduced with LO 3.5. LO 3.4 didn't have this.

(3) The formatting information from the PDF file is used; however LO uses a
font name for which it will not find a font file. In the sample: "Times New
Roman" text is formatted with "BAAAAA+TimesNewRomanPSMT" as font name. I
suppose this is the font name mangled by the Adobe Reader, not a bug in LO.

You can avoid all these issues if you copy the text as unformatted text into LO
via Ctrl-Shift-V (which is not always available, however): Special characters
are treated correctly and the page attributes are not changed.

I assume that LO's interpretation of what Reader puts in the clipboard differs
from Reader's, and there is of course the possibility that Reader's clipboard
format is bad. But issue (2) cannot be a bug in Reader.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to