Bug 104604 - KPDF doesn't display correctly a PDF file with accentuated caracters
Summary: KPDF doesn't display correctly a PDF file with accentuated caracters
Status: RESOLVED FIXED
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 19:19 UTC by FACORAT Fabrice
Modified: 2005-08-26 23:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF file which is incorrectly displayed (35.30 KB, application/pdf)
2005-04-26 19:20 UTC, FACORAT Fabrice
Details
screenshot showing KPDF display bug and KPDF version (191.92 KB, image/png)
2005-08-26 17:14 UTC, FACORAT Fabrice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FACORAT Fabrice 2005-04-26 19:19:03 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Mandriva RPMs
OS:                Linux

KPDF doesn't display correctly a PDF file with accentuated caracters.
For example instead of reading "récapitulative", i have "r capitulative"

However the issue may be more complex.

1. XPDF doesn't show the PDF correctly
2. the PDF is not shown correctly by ghostview/kghostview
3. pdf2ps failed to convert this PDF
4. pdftops convert it in PDF but the content is incorrect

here is pdf2ps output :
[admin@info1 commun]$ pdf2ps MatV16m.pdf /tmp/test.pdf
Error: /undefined in --get--
Operand stack:
   --dict:4/4(L)--   F1   16   --dict:9/14(L)--   --dict:12/16(ro)(L)--   --dict:9/14(L)--   0.001   --dict:9/14(L)--   FirstChar
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1115/1686(ro)(G)--   --dict:0/20(G)--   --dict:85/200(L)--   --dict:85/200(L)--   --dict:104/127(ro)(G)--   --dict:241/347(ro)(G)--   --dict:20/24(L)--   --dict:4/6(L)--   --dict:26/31(L)--   --dict:4/4(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.00: Unrecoverable error, exit code 1
Comment 1 FACORAT Fabrice 2005-04-26 19:20:31 UTC
Created attachment 10801 [details]
PDF file which is incorrectly displayed

PDF file which is incorrectly displayed. You should have :
Fiche récapitulative
€uros
Maître
4éme trimestre
Comment 2 FACORAT Fabrice 2005-05-01 05:13:05 UTC
Xpdf author acknowledge me this will be fixed in xpdf 3.1 which should be release shortly.
Comment 3 Albert Astals Cid 2005-08-18 20:49:05 UTC
Will be fixed in KDE 3.5
Comment 4 FACORAT Fabrice 2005-08-24 20:59:08 UTC
Albert, would you mind pointing me to the patch solving the bug ?
Mandriva KDE teams is willing to see it in order to see if there's a possibility to backport it to KDE 3.4.
http://qa.mandriva.com/show_bug.cgi?id=17728
Comment 5 Albert Astals Cid 2005-08-24 21:51:12 UTC
Well, that's not easy to backport as the patch that fixed that is the xpdf 3.01 merging in kpdf codebase that means a HUGE patch, you can get it doing

svn diff svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kdegraphics/kpdf -r 450654:450655 

But i'd suggesting using KPDF from the 3.5 branch and not trying to use 3.4 branch + that huge patch
Comment 6 FACORAT Fabrice 2005-08-26 17:11:45 UTC
Laurent Montel from Mandriva have include KPDF 3.5 in our KDE 3.4 package but the bug is not fixed and I still have the issue
Comment 7 FACORAT Fabrice 2005-08-26 17:14:08 UTC
Created attachment 12388 [details]
screenshot showing KPDF display bug and KPDF version

screenshot showing KPDF display bug and KPDF version
Comment 8 Albert Astals Cid 2005-08-26 23:05:41 UTC
Montel's KDE 3.5 checkout for kpdf may be old, that is fixed.