Launchpad has imported 5 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=45955.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-02-12T17:03:27+00:00 Pacho Ramos wrote:

Any text selected and copied from a PDF document in evince, both via Ctrl-C and
the right-click menu, gets a newline appended at the end when pasted into
another program. Happens with every single pdf document that I have tried.

As discussed downstream in:
https://bugs.gentoo.org/show_bug.cgi?id=402071

This seems to be caused by poppler-0.18.3 and can be fixed with the following 
patch:
https://bugs.gentoo.org/show_bug.cgi?id=402071#c5

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/3

------------------------------------------------------------------------
On 2012-02-12T19:19:49+00:00 Albert Astals Cid wrote:

Are you saying this is new behaviour in poppler 0.18.3?
Have you verified your patch does not change pdftotext output?

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/4

------------------------------------------------------------------------
On 2012-02-14T08:42:01+00:00 Pacho Ramos wrote:

>From downstream report:

> Are you saying this is new behaviour in poppler 0.18.3?
No. As far as I can see the relevant part of TextOutputDev.cc is the same in
poppler-0.16.7. The behavior is new to me only because I solely used xpdf over
the last decade and even the 'popplerized' xpdf in gentoo is not affected (I
think it doesn't use poppler for text copying).
> Have you verified your patch does not change pdftotext output?
I just did a pdftotext of two pages of an pdf document with and without my
patch applied and diff says the output is identical. And I'm very confident
that this will always be ok as my change is in function
TextSelectionDumper::getText which as far as I can see is not used by
pdftotext.

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/5

------------------------------------------------------------------------
On 2012-02-14T18:09:22+00:00 Albert Astals Cid wrote:

Not cairo backend related (TextSelectionDumper is only used by it but
that doesn't mean it is cairo backend exclusive).

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/6

------------------------------------------------------------------------
On 2012-02-14T18:13:04+00:00 Albert Astals Cid wrote:

Carlos since it mostly affects the glib frontend (it's the only user of
the TextSelectionDumper stuff) i'll leave it for you

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/7


** Changed in: poppler
       Status: Unknown => Confirmed

** Changed in: poppler
   Importance: Unknown => Medium

** Bug watch added: Gentoo Bugzilla #402071
   http://bugs.gentoo.org/show_bug.cgi?id=402071

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/792076

Title:
  evince copy adds a newline character

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/792076/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to