[Touch-packages] [Bug 808894] Re: Certain characters are not rendered correctly when selected (highlighted)
** Changed in: poppler Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/808894 Title: Certain characters are not rendered correctly when selected (highlighted) Status in Poppler: Unknown Status in poppler package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy evince evince: Installed: 3.14.1-0ubuntu1 Candidate: 3.14.1-0ubuntu1 Version table: *** 3.14.1-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen via https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202502/+files/testfile.pdf is when one highlights the first three lines, it doesn't mis-highlight the words. What happens instead is certain letters are not visible as per https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202506/+files/screenshot.png . ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: evince 2.32.0-0ubuntu12.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 Architecture: i386 CheckboxSubmission: 9e6554c36969a101b9e0e3075c8ffbe0 CheckboxSystem: b8f3ec504801f13fc208edb5c785b099 Date: Mon Jul 11 18:38:00 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: LANGUAGE=fr_FR:en LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2 SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/808894/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 808894] Re: Certain characters are not rendered correctly when selected (highlighted)
Launchpad has imported 27 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=46603. 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-25T01:13:44+00:00 Jason Crain wrote: Created attachment 57622 test pdf Forwarding from gnome bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=654473 When selecting text in this pdf, some glyphs are not visible. Text is displayed correctly when not selected. Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/6 On 2012-02-25T01:14:58+00:00 Jason Crain wrote: Created attachment 57623 incorrect display in evince Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/7 On 2012-02-25T01:15:35+00:00 Jason Crain wrote: Created attachment 57624 correct display in evince Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/8 On 2012-02-25T01:25:40+00:00 Jason Crain wrote: Created attachment 57625 Fixed display for selected glyph in ActualText span This patch seems to correct the issue. It sets the correct CharCode. Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/9 On 2012-02-25T07:45:38+00:00 Albert Astals Cid wrote: I don't think this patch is correct, you are only setting the charcode once in ActualText::addChar so if multiple ActualText::addChar calls happen before ActualText::end the other charcodes are lost, no? Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/10 On 2012-02-26T04:03:40+00:00 Adrian Johnson wrote: The patch doesn't work when the ActualText span contains more than one glyph. There is a test case in the test suite that demonstrates the problem: http://cgit.freedesktop.org/poppler/test/tree/unittestcases/WithActualText.pdf Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/11 On 2012-03-03T16:40:29+00:00 Jason Crain wrote: Created attachment 57989 Enable displayed chars to map to any number of text chars It's tricky when the length of the ActualText does not match the number of displayed glyphs. This first patch modifies the TextWord, TextLine, TextLineFrag, TextBlock, and TextPage classes to suport displayed characters that can be mapped to any number of text characters. Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/12 On 2012-03-03T16:46:38+00:00 Jason Crain wrote: Created attachment 57990 Fixes display for selected glyphs in ActualText span This sets the correct CharCode for each glyph in an ActualText span. Attempts to match one text character to each glyph. If there are more glyphs, they are added without matching text. If there is more text, the remaining is added to the last glyph. Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/13 On 2012-03-03T21:27:44+00:00 Adrian Johnson wrote: Created attachment 57993 fix selection of glyphs in actualtext Thanks for these patches. I have started looking at some of the text related bugs and the inability of TextOuputDev to understand the difference between glyphs and characters is the cause of some of these bugs. The first patch is very similar to the solution I had in mind. The first patch also fixes bug 9001. Some comments on the first patch: The following code in TextBlock::coalesce() needs fixing: if (word2->len == word0->len && !memcmp(word2->text, word0->text, word0->len * sizeof(Unicode))) { len need to be replaced with textLen. I don't think addChar should be renamed to addChars. My understanding of the code is that 'Char' is referring to the CharCodes and only one CharCode is added per call. I would move the surrogate decoding to TextWord:addChar() and do the decoding as the unicode values are copied into the text array. This avoids having to make a copy of the unicode array in TextPage::addChar(). Some comments on the second patch: I don't like the way the second patch is mapping the replacement text to the charcodes. I am attaching an alternative patch that distributes the replacement text evenly across the charcodes. Reply at
[Touch-packages] [Bug 808894] Re: Certain characters are not rendered correctly when selected (highlighted)
** Bug watch added: freedesktop.org Bugzilla #46603 https://bugs.freedesktop.org/show_bug.cgi?id=46603 ** Changed in: poppler Importance: Low => Unknown ** Changed in: poppler Status: Invalid => Unknown ** Changed in: poppler Remote watch: freedesktop.org Bugzilla #87401 => freedesktop.org Bugzilla #46603 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/808894 Title: Certain characters are not rendered correctly when selected (highlighted) Status in Poppler: Unknown Status in poppler package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy evince evince: Installed: 3.14.1-0ubuntu1 Candidate: 3.14.1-0ubuntu1 Version table: *** 3.14.1-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen via https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202502/+files/testfile.pdf is when one highlights the first three lines, it doesn't mis-highlight the words. What happens instead is certain letters are not visible as per https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202506/+files/screenshot.png . ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: evince 2.32.0-0ubuntu12.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 Architecture: i386 CheckboxSubmission: 9e6554c36969a101b9e0e3075c8ffbe0 CheckboxSystem: b8f3ec504801f13fc208edb5c785b099 Date: Mon Jul 11 18:38:00 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: LANGUAGE=fr_FR:en LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2 SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/808894/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 808894] Re: Certain characters are not rendered correctly when selected (highlighted)
** Changed in: poppler Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/808894 Title: Certain characters are not rendered correctly when selected (highlighted) Status in Poppler: Invalid Status in poppler package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy evince evince: Installed: 3.14.1-0ubuntu1 Candidate: 3.14.1-0ubuntu1 Version table: *** 3.14.1-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen via https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202502/+files/testfile.pdf is when one highlights the first three lines, it doesn't mis-highlight the words. What happens instead is certain letters are not visible as per https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202506/+files/screenshot.png . ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: evince 2.32.0-0ubuntu12.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 Architecture: i386 CheckboxSubmission: 9e6554c36969a101b9e0e3075c8ffbe0 CheckboxSystem: b8f3ec504801f13fc208edb5c785b099 Date: Mon Jul 11 18:38:00 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: LANGUAGE=fr_FR:en LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2 SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/808894/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 808894] Re: Certain characters are not rendered correctly when selected (highlighted)
Launchpad has imported 2 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=87401. 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 2014-12-17T08:39:51+00:00 Christopher M. Penalver wrote: 1) lsb_release -rd Description:Ubuntu Vivid Vervet (development branch) Release:15.04 2) apt-cache policy evince evince: Installed: 3.14.1-0ubuntu1 Candidate: 3.14.1-0ubuntu1 Version table: *** 3.14.1-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen via https://bugs.launchpad.net/ubuntu/+source/evince/+bug/808894/+attachment/2202502/+files/testfile.pdf is when one highlights the first three lines, it doesn't mis-highlight the words. What happens instead is certain letters are not visible as per https://bugs.launchpad.net/ubuntu/+source/evince/+bug/808894/+attachment/2202506/+files/screenshot.png . Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/7 On 2014-12-17T08:41:29+00:00 Christopher M. Penalver wrote: Created attachment 110940 testfile.pdf Reply at: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/comments/8 ** Changed in: poppler Status: Unknown => Confirmed ** Changed in: poppler Importance: Unknown => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/808894 Title: Certain characters are not rendered correctly when selected (highlighted) Status in Poppler: Confirmed Status in poppler package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy evince evince: Installed: 3.14.1-0ubuntu1 Candidate: 3.14.1-0ubuntu1 Version table: *** 3.14.1-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen via https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202502/+files/testfile.pdf is when one highlights the first three lines, it doesn't mis-highlight the words. What happens instead is certain letters are not visible as per https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202506/+files/screenshot.png . ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: evince 2.32.0-0ubuntu12.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 Architecture: i386 CheckboxSubmission: 9e6554c36969a101b9e0e3075c8ffbe0 CheckboxSystem: b8f3ec504801f13fc208edb5c785b099 Date: Mon Jul 11 18:38:00 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: LANGUAGE=fr_FR:en LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2 SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/808894/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 808894] Re: Certain characters are not rendered correctly when selected (highlighted)
** Description changed: - Ubuntu 11.04 - fresh install + 1) lsb_release -rd + Description: Ubuntu Vivid Vervet (development branch) + Release: 15.04 - 1/ download "testfile.pdf" here attached - 2/ open it with evince and select the text in the 1st page - 3/ the selected text is not rendered correctly : sometime squares are displayed + 2) apt-cache policy evince + evince: + Installed: 3.14.1-0ubuntu1 + Candidate: 3.14.1-0ubuntu1 + Version table: + *** 3.14.1-0ubuntu1 0 + 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages + 100 /var/lib/dpkg/status - see screenshot.png here attached. + 3) What is expected to happen via + https://bugs.launchpad.net/ubuntu/+source/evince/+bug/808894/+attachment/2202502/+files/testfile.pdf + is when one highlights the first three lines, it doesn't mis-highlight + the words. + + What happens instead is certain letters are not visible as per + https://bugs.launchpad.net/ubuntu/+source/evince/+bug/808894/+attachment/2202506/+files/screenshot.png + . ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: evince 2.32.0-0ubuntu12.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 Architecture: i386 CheckboxSubmission: 9e6554c36969a101b9e0e3075c8ffbe0 CheckboxSystem: b8f3ec504801f13fc208edb5c785b099 Date: Mon Jul 11 18:38:00 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: - LANGUAGE=fr_FR:en - LANG=fr_FR.UTF-8 - SHELL=/bin/bash + LANGUAGE=fr_FR:en + LANG=fr_FR.UTF-8 + SHELL=/bin/bash ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2 SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) ** No longer affects: evince (Ubuntu) ** Project changed: poppler => evince (Ubuntu) ** Changed in: evince (Ubuntu) Importance: Critical => Undecided ** Changed in: evince (Ubuntu) Status: Unknown => New ** Changed in: evince (Ubuntu) Remote watch: GNOME Bug Tracker #654473 => None ** No longer affects: evince (Ubuntu) ** Project changed: evince => poppler (Ubuntu) ** Changed in: poppler (Ubuntu) Importance: Medium => Undecided ** Changed in: poppler (Ubuntu) Status: Unknown => New ** Changed in: poppler (Ubuntu) Remote watch: GNOME Bug Tracker #439070 => None ** Changed in: poppler (Ubuntu) Importance: Undecided => Low ** Changed in: poppler (Ubuntu) Status: New => Triaged ** Description changed: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy evince evince: - Installed: 3.14.1-0ubuntu1 - Candidate: 3.14.1-0ubuntu1 - Version table: - *** 3.14.1-0ubuntu1 0 - 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 3.14.1-0ubuntu1 + Candidate: 3.14.1-0ubuntu1 + Version table: + *** 3.14.1-0ubuntu1 0 + 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages + 100 /var/lib/dpkg/status 3) What is expected to happen via - https://bugs.launchpad.net/ubuntu/+source/evince/+bug/808894/+attachment/2202502/+files/testfile.pdf + https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202502/+files/testfile.pdf is when one highlights the first three lines, it doesn't mis-highlight the words. What happens instead is certain letters are not visible as per - https://bugs.launchpad.net/ubuntu/+source/evince/+bug/808894/+attachment/2202506/+files/screenshot.png + https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/808894/+attachment/2202506/+files/screenshot.png . ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: evince 2.32.0-0ubuntu12.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 Architecture: i386 CheckboxSubmission: 9e6554c36969a101b9e0e3075c8ffbe0 CheckboxSystem: b8f3ec504801f13fc208edb5c785b099 Date: Mon Jul 11 18:38:00 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: LANGUAGE=fr_FR:en LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2 SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) ** Bug watch added: freedesktop.org Bugzilla #87401 https://bugs.freedesktop.org/show_bug.cgi?id=87401 ** Also affects: poppler via https://bugs.freedesktop.org/show_bug.cgi?id=87401 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/808894 Title: Certain characters are not rendered correctly when selected (highlighted) Status in Poppler: Unknown Status in poppler package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivi