Summary: | copying text from a PDF document in evince adds a newline | ||
---|---|---|---|
Product: | poppler | Reporter: | Pacho Ramos <pachoramos1> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Pacho Ramos
2012-02-12 09:03:27 UTC
Are you saying this is new behaviour in poppler 0.18.3? Have you verified your patch does not change pdftotext output? 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. Not cairo backend related (TextSelectionDumper is only used by it but that doesn't mean it is cairo backend exclusive). Carlos since it mostly affects the glib frontend (it's the only user of the TextSelectionDumper stuff) i'll leave it for you |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.