Bug 7065

Summary: Accented characters are badly copied
Product: poppler Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: mpsuzuki
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: unselected text (correct)
selected text (broken)

Description Guillaume Desmottes 2006-05-29 07:30:12 UTC
Transfering this bug from GNOME Bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=338942

To reproduce:
- Open this file: http://cass.no-ip.com/~cassidy/files/brol/test.pdf
- Copy the first line
- Paste it in gedit

The text pasted is:
Bugs : ´ ` c `
       ea¸e

(The selection is badly displayed, see bug 338940).

I use evine 0.5.2 with poppler 0.5.1 (Ubuntu Dapper).
The pdf was created from http://cass.no-ip.com/~cassidy/files/brol/test.tex.

I'm not sure if this bug is a dup of bug 2981. If it is, feel free to close it.
Comment 1 Guillaume Desmottes 2006-05-29 07:32:47 UTC
This bug is maybe related to bug 7063 and bug 7064
Comment 2 Enver ALTIN 2007-05-09 14:31:58 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=435829

It seems like it's the same problem, this time with Turkish text. I'm copying attachments from that bug over here.
Comment 3 Enver ALTIN 2007-05-09 14:33:25 UTC
Description from GNOME bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=435829

I've got a PDF file which contains embedded fonts, and I can view this file
perfectly. The file contains Turkish characters such as
öçşığüÖÇŞİĞÜ. But when I try to select some text, these characters
are displayed as squares.

Steps to reproduce:
Create a PDF file which contains one or more of these characters:
"öçşığüÖÇŞİĞÜ", open it and try selecting this text.
Comment 4 Enver ALTIN 2007-05-09 14:34:31 UTC
Created attachment 9908 [details]
unselected text (correct)
Comment 5 Enver ALTIN 2007-05-09 14:36:59 UTC
Created attachment 9909 [details]
selected text (broken)
Comment 6 agang.lu 2010-08-25 20:04:02 UTC
My guess is that it's a problem of evince rather than of poppler. Since epdfview and evince both use glib and poppler, epdfview has no problem at all with text-selection-rendering for non-ascii characters.