[Bug 39890]
*** Bug 13441 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
*** Bug 9608 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 104775 Unselected text with evince 3.10.3 (Ubuntu 14.04) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #54) > I'm not convinced this bug is fixed; see the attachment images from my > evince 3.10.3 in Ubuntu 14.04. > > Or is this a different issue? That is a different issue. Please open a new bug, attach the PDF, and include your libpoppler version. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 104776 Selected/Corrupted text with evince 3.10.3 (Ubuntu 14.04) I'm not convinced this bug is fixed; see the attachment images from my evince 3.10.3 in Ubuntu 14.04. Or is this a different issue? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
This bug was fixed in the package poppler - 0.22.4-0ubuntu1 --- poppler (0.22.4-0ubuntu1) saucy; urgency=low * New upstream release 0.22.4 (LP: #1135995). - Should fix the text selection problems (LP: #39890). - Should fix issues with PDF forms (LP: #1153517). * Drop all upstream patches and refresh other patches. * Change the soname version in package name: libpoppler28 -> libpoppler37. * Update symbols files. * Update debian/copyright (taken from Debian packaging Git). -- Dmitry ShachnevFri, 17 May 2013 17:07:14 +0400 ** Changed in: poppler (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** No longer affects: evince (Ubuntu) ** Changed in: poppler (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Branch linked: lp:ubuntu/saucy-proposed/poppler -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Branch linked: lp:~mitya57/ubuntu/saucy/poppler/0.22.4 ** Branch unlinked: lp:~mitya57/ubuntu/saucy/poppler/0.22.3 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Unfortunately, this bug is still present in Poppler 0.20.5 on Ubuntu 13.04. When I open my test case (attachment 66101) in Evince and try to select the "2m+α" part, it changes to "20+=" every time. Should I reopen this bug or file a new one instead? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #51) > Unfortunately, this bug is still present in Poppler 0.20.5 on Ubuntu 13.04. Please ignore that, it seems that Poppler version is too old in Ubuntu. Will prepare an update now :) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Branch linked: lp:~mitya57/ubuntu/saucy/poppler/0.22.3 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: poppler Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #49) > Oh, wait, didn't realize the functions it's adding new parameters are private, > ignore my "breaks API" part. No problem :-) but please, ask me before committing any change that might break the public glib API even in master. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Oh, wait, didn't realize the functions it's adding new parameters are private, ignore my "breaks API" part. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #47) > I've commited this patch to master (what will be 0.22) and not to 0.20 since > it > breaks the public glib api Really? why? I agree with not committing it to the stable branch, but I don't think the patch breaks the API, or am I missing something? Breaking the API should be avoided even in master. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
I've commited this patch to master (what will be 0.22) and not to 0.20 since it breaks the public glib api I'm closing this bug since it fixes the original reported issue. If there are issues not fixed by this bug please open a new one, big bugs get difficult to keep track of otherwise. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 66454 Allow multiple fonts in a TextWord Updated patch to apply to current git master. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 66450 Check for NaN in TextPage::addChar I don't think this is related to my earlier patch. For me, this pdf crashes both with and without it. This document is doing very strange things with the current transformation matrix (CTM) and inline images. Pages 6 and 15 are filled with lines like this: q 18 0 0 -1 2782 6350 cm q BI ID EI Q q 19 0 0 -1 2782 6350 cm q BI ID EI Q Note the unbalanced q/Q for saving/restoring the graphics state. This means that the graphics state is not ever being properly restored and the `cm' operator is scaling the CTM until its components become NaN. This leads to TextWord::base being NaN. This breaks calculations in TextPool::addWord, causing wordBaseIdx to be INT_MIN, causing the text pool to not be initialized to NULLs, which causes a crash when an invalid pointer is read and dereferenced from the pool. As a test, adding a call to restoreState() in Gfx::opBeginImage allows the page to render properly and without crashing. Otherwise, poppler either crashes or places text in an invalid location. The attached patch adds a check for NaN to TextPage::addChar and throws away chars with invalid positions. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 66375 The pdf where the patch crashes -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #37) > Created attachment 65992 [details] [review] > Allow multiple fonts in a TextWord > > It was possible for a TextWord to have fonts for both horizontal and vertical > writing modes. This version of the patch starts a new word when the WMode > changes. When running pdftotext with this patch on a pdf i'm going to attach it crashes (without the patch it works), can you please fix it? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 66163 Change default fallback character width Also, I don't know how you feel about fixing something caused by violating the PDF specification, but this patch changes the default width for a missing character, making the gamma symbol selectable in the minimal pdf. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Yes, please review the patch as it is. I have looked at the document from Dmitry. It exposes two issues, but these are separate from minimal pdf. 1) TextLines may be drawn over each other, obscuring other text. 2) In CairoOutputDev::updateFillColor, the color may not be set correctly. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Jason want me to have another look at your patch or you want to try to fix the issue by Dmitry first? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 66101 Another small test case The patch doesn't fully solve the problem for me. I have attached another PDF file (which only contains one math formula) with which I still can reproduce the issue. When I try to select the Sigma ("∑") in Evince, limits ("m=0" and "∞") disappear; when I try to select "x/2" fraction, I get an orange or black rectangle (I use Ubuntu's Ambiance theme, so normally selection color should be always orange). I can confirm that the "Minimal pdf" attached here is fixed by this patch, though. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
I am not sure how to fix the problem with the Gamma glyph not being selectable. It is not selectable because it has a zero width, because there is no Widths array in the file. This is a violation of the spec. Poppler has a mechanism to provide default widths, but this does not work for symbols. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 65992 Allow multiple fonts in a TextWord It was possible for a TextWord to have fonts for both horizontal and vertical writing modes. This version of the patch starts a new word when the WMode changes. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
I tried patched poppler with the minimal example and I don't get the change of the glyphs anymore under the selection, which is VERY GOOD!! But I can't select the Gamma glyph... -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Ok, let's not worry about that for the moment. I'm more concerned about Carlos not being able to verify this indeed fixes the problem it's supposed to be fixing. Carlos can you give it a second try? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #33) > I understand why they are not merged (by code not, why the code is put there), > but why the "i" has a different width that makes it overlap with the "K" when > previously didn't? Before being merged, the width of the 'i' is 0.923076. In TextWord::merge, the right edge of 'i' is set equal to the left edge of 'K', reducing its width to 0.349866. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #32) > The difference in character width is because of this change: > > @@ -863,7 +839,7 @@ void TextLine::coalesce(UnicodeMap *uMap) { > word0->spaceAfter = gTrue; > word0 = word1; > word1 = word1->next; > - } else if (word0->font == word1->font && > + } else if (word0->font[word0->len - 1] == word1->font[0] && > word0->underlined == word1->underlined && > fabs(word0->fontSize - word1->fontSize) < > maxWordFontSizeDelta * words->fontSize && > > > Before, the words "Fumi" and "K" were being merged. Letters "F" and "K" are > using the font BookmanOldStyle. Letters "umi" are using ArialMT. Because of > this font check, the words are no longer being merged, making the width of the > i different. I understand why they are not merged (by code not, why the code is put there), but why the "i" has a different width that makes it overlap with the "K" when previously didn't? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
The difference in character width is because of this change: @@ -863,7 +839,7 @@ void TextLine::coalesce(UnicodeMap *uMap) { word0->spaceAfter = gTrue; word0 = word1; word1 = word1->next; - } else if (word0->font == word1->font && + } else if (word0->font[word0->len - 1] == word1->font[0] && word0->underlined == word1->underlined && fabs(word0->fontSize - word1->fontSize) < maxWordFontSizeDelta * words->fontSize && Before, the words "Fumi" and "K" were being merged. Letters "F" and "K" are using the font BookmanOldStyle. Letters "umi" are using ArialMT. Because of this font check, the words are no longer being merged, making the width of the i different. Yes, it is possible for one word to have fonts with different WModes. Still looking into it, but I suppose it will need to start a new word on WMode changes. Carlos: I don't know why you do not see a difference. Without this patch, selecting text in the minimal example changes the text to "ABC". With this patch, it stays "BCD". -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #29) > Note i have *not* verified it fixes the problem mentioned in this bug. Carlos > can you do that part? it's weird, I don't see any difference with and without the patch with poppler-glib-demo and the minimal example attached to this bug. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
There's also a weird thing. If i get all the character positions and dump them to file, sometimes there's minor changes, e.g. in https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/881407/+attachment/2571595/+files /Manning-ExtJS_in_Action.pdf the diff says --- old/foo 2012-08-17 01:16:21.566960179 +0200 +++ new/foo 2012-08-17 01:16:21.566960179 +0200 @@ -51275,13 +51275,16 @@ QRectF(289.28,579.535 2.4948x4.725) true QRectF(289.28,579.535 2.4948x4.725) -"FumiK" -QRectF(294.666,579.535 10.0606x4.725) -true +"Fumi" +QRectF(294.666,579.535 7.64003x4.725) +false QRectF(294.666,579.535 2.08791x4.725) QRectF(296.754,579.535 1.73864x4.725) QRectF(298.492,579.535 2.8904x4.725) -QRectF(301.383,579.535 0.349866x4.725) +QRectF(301.383,579.535 0.923076x4.725) +"K" +QRectF(301.733,579.535 2.99376x4.725) +true QRectF(301.733,579.535 2.99376x4.725) "®" QRectF(308.586,580.274 3.06445x3.885) the more interesting part is -QRectF(301.383,579.535 0.349866x4.725) +QRectF(301.383,579.535 0.923076x4.725) it seems the "i" moved from being 0.349866 wide to being 0.923076. Any idea why those changes happen? Looking at the code i don't see any obvious reason for them. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Good news first, it does not change the output of pdftotext (well it does it in a file, but i don't consider it a regression) Yay :-) Now onto the review of the code itself. >From what i can read it seems it is possible to have in the same word fonts with different WMode (i.e. fonts written vertically and horizontally) i don't think this makes any sense. What do you think? Note i have *not* verified it fixes the problem mentioned in this bug. Carlos can you do that part? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Sure, no hurry, thanks! -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Sure, on my todo (man i'm behind again in poppler :-() -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
(In reply to comment #25) > Created attachment 65449 [details] [review] > Allow multiple fonts in a TextWord > > This patch modifies TextWord so that each character can be a different font. > Function poppler_page_get_text_attributes is updated to allow for attributes > to > change mid-word. Thanks for the patch!, Albert could you run the regtests for text backend with this patch, please? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 65449 Allow multiple fonts in a TextWord This patch modifies TextWord so that each character can be a different font. Function poppler_page_get_text_attributes is updated to allow for attributes to change mid-word. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Dmitry please to not modify those fields, that's not for users to choose. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
An interesting thing: When I select the "Wrong" line in PDF from comment 2, BCDГ is changing not to ABC, but to ABC, and when I then copy-paste that line, I get "Wrong:BCD", without the last letter. @José: Please, do something with this! Sometimes selecting text does really terrible things (take a look at 3 screenshots in this archive: http://ubuntuone.com/p/11Pa/, for example). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
As there been any additional progress on this issue? I must say I have been encountering it quite frequently for a long time, and for one would be very happy to see a fix applied. Anyway, thanks to anyone working on this. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Paul: Of course, i never said this is an acceptable behaviour. (What makes you think i did?) I only said that from the technical point of view you can argue that ":" is of course a different word since you won't find the word "strike:" in a dictionary. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Albert: given the lack of a space ( ) in the input, there's shouldn't be one in the output! :) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
I tend to agree with Paul that is fine for a word to have different fonts, but on the other hand one can argue if the ":" in that situation is part of the word or not. I'd say 1 is a better solution but if you can get 2 with a "clean enough" code i won't be oposed to it either. Personally i think text selection should have been done in client side (like we do in Okular) and not "modyfing" poppler internal structures but that's a bit too late i guess :D -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
It's perfectly natural that every letter in a word be in a different font, colour, or style so that needs to be allowed for (the text could even a scan of some handwriting, or several scans), . ...what pdftotext is trying to do is to replicate what would be found in a Tagged PDF (Section 9.7 of the PDF Reference), effectively synthesising what would ideally be found in '/BMC.../EMC' '/ActualText' contents. To that end I'm inclined to agree that (b) sounds like non-ideal kludge on top of non-ideal kludge. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Thanks for the regression. The problem here is that "bold:" has two fonts since "bold" is italicised and ":" not, so before the patch, "bold:" is a TextWord and pdftotext get the text right, but drawing the selection is bad since the selected ":" would be drawn italicised. After the patch, "bold:" gets splitted up into "bold" and ":" so it gets drawn correctly when selected, but you have the regression you pointed out. So, I believe I am stuck with this choice: a). I could either allow more than one font on a TextWord, and adapt the code that draws the TextWord to use that fact, so the selected ":" does not get transform to a italicised ":" when drawing it. b) or I could fix the TextDumper to be aware of the fact in some cases there is no space between two TextWord. c) Do you have another way? I think I want to take approach a) even if it could more complicated, but approach b) seems that it could break more things that it would fix... thinking that when doing selection by words would not work at all. What do you think? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 43455 The pdf with the pdftotext regression -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
The patch changes (breaks) the behaviour of pdftotext so that is not acceptable. You can see that in the attached pdf "bold strike:" changes to be extracted to "bold strike :" -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 43421 updated alternate patch I apologize for the spam. Previous patch was clearly wrong. Updated patch. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 43420 alternate patch comparing gfxFont instead of pointers to FontInfos Even if what I say in last comment may be true, I followed your advice and updated the patch to compare the gfxFonts instead of the pointers to the TextInfos. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
I assumed that the only code that is updating the curFont is TextPage::updateFont. If this is true, from what I understood from the code, the fonts array holds unique FontInfos, so it would be safe to compare pointers instead of FontInfos. So, is this right? If so, and you still want me to rework the patch so it compares the fonts infos instead of the pointers, I won't argue and will update the patch, but I'd appreciate an answer so I can have a better understanding of the code, Thanks -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
You are comparing the pointers of the font infos, shouldn't you be comparing the contents of the pointers? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
The last patch does not fix either some problems when selecting ligatures in some fonts, see http://java.sun.com/docs/books/jvms/second_edition/ClassFileFormat- final-draft.pdf, page 54 and look for the word "reflective" which is rendered as "reßective" (althought the text select is indeed "reflective". This does not happen with all fonts, for instance, in a pdflatex generated file, I could not reproduce the problem. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
Created attachment 43360 Patch fixing the issue Actually, All the chars in a TextWord MUST share the same font, so I added a check so we also create a new word when the font changes. The attached patch fixes the bug in the minimal example and many other problems when selecting text in PdfLatex-generated files, but there are still issues in rendering selections with Bitmapped fonts. In this case, the glyph seems right but the size is wrong. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890]
For the problem in the minimal example, the culprit seems to be in TextSelectionPainter::visitWord, which assumes that all the chars in a word use the same font. This is demonstrated by adding a space After "Word:" in the bad line. This also explain why this bug is very common with LaTeX files. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** No longer affects: evince -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
Bug still there in Ubuntu 12.04, Evince 3.4.0 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/39890/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: poppler Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: evince Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
Thanks for pointing this out! I subscribed to the upstream bug, and will follow it there (the patch doesn't seem to be complete yet). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: evince Status: Unknown => Confirmed ** Changed in: evince Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I have marked bug #39321 as a duplicate, since Evince developer Jose Aliste confirmed it (https://bugzilla.gnome.org/show_bug.cgi?id=439070#c12). Also, he has made a patch for poppler that resolves the issue (https://bugs.freedesktop.org/show_bug.cgi?id=6923#c9). What about applying it in Ubuntu? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Bug watch added: GNOME Bug Tracker #439070 https://bugzilla.gnome.org/show_bug.cgi?id=439070 ** Also affects: evince via https://bugzilla.gnome.org/show_bug.cgi?id=439070 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: poppler Importance: Medium => Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/39890 Title: characters change when selecting text -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
This URL: http://vg00.met.vgwort.de/na/e7ba7b1937b4525b908596a18439e5f?l=http://publica.fraunhofer.de/eprints/urn:nbn:de:0011-n-1174865.pdf -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I have the same problem with following pdf: http://publica.fraunhofer.de/eprints/urn:nbn:de:0011-n-1174865.pdf On first page, marking the heading ("Abbildung von Straßendaten für Qualitätsuntersuchungen - Ein Vergleich von OpenStreetMap mit Navteq") will change its text. Very annoying ... -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Attachment added: "Screenshot of not highlighted and highlighted text" http://launchpadlibrarian.net/42074933/01.png -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Attachment added: "pdf proper" http://launchpadlibrarian.net/42074859/01.pdf -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I have problems with formula highlighting in Evince 2.28.1 (from repository) at Ubuntu 9.10. Poppler version is 0.12.0-0ubuntu2.1. When selecting formula it content is changing. It happens in pdf converted from odt. In attachment: original odt, pdf, screenshot of not highlited and highlited text in Evince and Adobe Reader. ** Attachment added: "Original odt" http://launchpadlibrarian.net/42074801/01.odt -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
it's a poppler issue not evince, rejecting that task. ** Changed in: evince (Ubuntu) Status: Confirmed => Invalid -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I have reproduced this with a .pdf my professor sent me. I was hightlighting text when this happened. Look at the attachment for an example. ** Attachment added: "Error.jpg" http://launchpadlibrarian.net/17142480/Error.jpg -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I don't know about the plugin, it's a hand-made minimal example to show the developers that this line causes the problem: /Differences [65 /B /C /D /Gamma] When the text is not selected, the differences array is used, and evince displays BCDΓ When the text is selected, the differences array is not used, and evince displays ABC Notice the change from BCD to ABC. Acrobat (on Windows - not the Reader) read the attachment OK, but probably some things like the xref table are broken (I wasn't willing to count byte indices by hand!). Evince automatically reconstructs the table though, so other programs reading the .pdf or not are not the point here, I just tried to pinpoint when the problem occurs to make it easier for the developers to fix it. I can fix the xref table if it's required, but I don't think it matters... -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
Adobe Reader 8 plugin complains it cannot read the document Alkis concocted. -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
This happens on not-properly-produced .pdf files, with custom encodings but without cmap (toUnicode) entries. Unfortunately, there are a lot of them out there! When selecting text, evince (erroneously) displays the characters that will be copied to the clipboard, instead of the original glyphs. Explanation: There is a PDF specification "feature", where one can declare that the character 'A' maps to the glyph 'B'. So if 'A' is written in a pdf text object, it displays as 'B' but it gets copied as 'A'! My English is poor, so I made a ***minimal*** .pdf that reproduces this bug. If you open it in Evince and select all the text, the line that contains BCDΓ should display ABC when selected! Kind regards, Alkis Georgopoulos ** Attachment added: "evincebug.pdf" http://launchpadlibrarian.net/16578432/evincebug.pdf -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I have the same problem. Evince 2.22.2 Ubuntu 8.04 x86_64 -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
In my document the € Euro-signs multiply when the text is selected. After the first original Euro-sign there follow 4 - 9 partly overlapping additional Euro signs. The original Text under the additional Euro-signs lies under white blocks, which seem to make room for the Euros. I cant say, if the problem is caused by the Euro sign itself, or if it is the group of caracters. In my document the Euro sign comes always along in a context like this: " 6 Mio. €/km " -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I think I have the similar problem, but if I select a text it looks like in the screenshot. and sometimes some random "white blocks" apear... ** Attachment added: "error.png" http://launchpadlibrarian.net/14776491/error.png -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
Still ongoing in Hardy. However, as upstream is not seeing these posts, please post there instead to try to encourage something to happen. Although frankly Evince is worse in Gutsy than it was in Hardy (major memory leaks, font rendering problems, and printing quality is poor), so I think after more than a year of Evince I'm going to have to break down and switch to Adobe Reader. -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 39890] Re: characters change when selecting text
Hi Alex, thanks for your email :-) Indeed, the problem is displaying 'special' charecters... all others work fine! In German, it is "Ü", "ü", "Ä", "ä", "Ö", "ö" and "ß". Regards, Wolfgang On Wed, 13 Feb 2008 17:11:10 -, "Alex Eftimie" <[EMAIL PROTECTED]> said: > I can also report this bug with evince 2.20.1 using poppler 0.6.2 on > ubuntu 7.10. > The problem appears only when selecting diacritics characters, like > Romanian: ş,ţ,ă,î,â. Some random blind-selection (like showing > selected a > void area instead of text) also appears, but only in files with that > characters. > > -- > characters change when selecting text > https://bugs.launchpad.net/bugs/39890 > You received this bug notification because you are a direct subscriber > of a duplicate bug. -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I can also report this bug with evince 2.20.1 using poppler 0.6.2 on ubuntu 7.10. The problem appears only when selecting diacritics characters, like Romanian: ş,ţ,ă,î,â. Some random blind-selection (like showing selected a void area instead of text) also appears, but only in files with that characters. -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I see this bug in the form of disappearing characters (especially those who are in Latin-B unicode subset, for example letters ą, č, ę, ė, į, ų, ū). However, files created with OpenOffice seem to work correctly -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: evince (Ubuntu) Assignee: Pedro Clemente Pereira Neto (pedrocpneto) => Ubuntu Desktop Bugs (desktop-bugs) -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: evince (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) => Pedro Clemente Pereira Neto (pedrocpneto) Status: Invalid => Confirmed -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
the poppler task is enough ** Changed in: poppler (Ubuntu) Status: Confirmed => Triaged ** Tags added: desktop-next-lts ** Changed in: evince (Ubuntu) Status: New => Invalid -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 39890] Re: characters change when selecting text
Yes, actually, every "special" character have problems with selection in evince. So, not only on maths formulas, but on "small caps" or accents also. Le lundi 17 septembre 2007 à 15:05 +, Thijs Kinkhorst a écrit : > Just to confirm, I have the problem most notably when selecting text in > "small caps" style: the text changes to lowercase characters when it is > selected. > -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
Just to confirm, I have the problem most notably when selecting text in "small caps" style: the text changes to lowercase characters when it is selected. -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
Have the same problem here! Evence 0.8.1 / Ubuntu Feisty ** Attachment added: "Visualization of that Bug" http://launchpadlibrarian.net/7932805/evince.png -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
** Changed in: evince (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Ubuntu Desktop Bugs -- characters change when selecting text https://bugs.launchpad.net/bugs/39890 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when selecting text
I've forwarded the issue upstream: https://bugs.freedesktop.org/show_bug.cgi?id=6923 ** Summary changed: - characters change when marking text + characters change when selecting text ** Changed in: evince (Ubuntu) Sourcepackagename: evince => poppler Assignee: (unassigned) => Ubuntu Desktop Bugs ** Bug watch added: Freedesktop Bugzilla #6923 https://bugs.freedesktop.org/show_bug.cgi?id=6923 ** Also affects: poppler (upstream) via https://bugs.freedesktop.org/show_bug.cgi?id=6923 Severity: Unknown Priority: Unknown Status: Unknown -- characters change when selecting text https://launchpad.net/bugs/39890 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] Re: characters change when marking text
Thank you for reporting this issue. I can also reproduce it. I don't think that the different characters are really different characters, just a different font. For example, the character ']' (right square bracket) looks like the character '#' in the font cmmi10, and that is the character that appears when it is highlighted. ** Changed in: evince (Ubuntu) Status: Unconfirmed => Confirmed -- characters change when marking text https://launchpad.net/bugs/39890 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 39890] characters change when marking text
Public bug reported: Affects: evince (Ubuntu) Severity: Normal Priority: (none set) Status: Unconfirmed Description: I have problems with the following pdf: www.lacim.uqam.ca/~plouffe/OEIS/citations/MAS-R9821.pdf When marking text some characters change. This happens on many places in this pdf-file. To reproduce the bug just mark some random places in the pdf. In some places the text disappears. In some the characters change totally. In others the italics is removed. I use the latest update of dapper. Evince 0.5.2 -- characters change when marking text https://launchpad.net/malone/bugs/39890 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs