Bug 151359 - Links in the pdf file show underlines ABOVE the words
Summary: Links in the pdf file show underlines ABOVE the words
Status: RESOLVED FIXED
Alias: None
Product: kpdf
Classification: Unmaintained
Component: general (show other bugs)
Version: 0.5.7
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 04:13 UTC by narayan
Modified: 2008-02-19 20:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
testcase pdf (13.09 KB, application/pdf)
2007-11-05 14:04 UTC, Erik Quaeghebeur
Details
testcase pdf latex source (1.16 KB, text/x-tex)
2007-11-05 14:04 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description narayan 2007-10-26 04:13:43 UTC
Version:           0.5.7 (using KDE 3.5.7 "release 72" , openSUSE 10.3)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.22.5-31-default

How to replicate the problem:

A. To create a file with underlined links
1. Open any file in Adobe Acrobat(in Windows).
2. Select a word (or a few words). 
3. Right-click. Choose "create a link" option.
4. Select "underline" (this is important)
5. Navigate to any page, adjust view (zoom and position).
6. Press OK.

Now the link shows up as underlined word(s).
Clicking it will open another page with a different zoom, or a page, etc..

7. Save the file.
8. Open the same file in Linux+kpdf.
I expect the underline to appear at the same place.
Instead, you get the underline ABOVE the words.
It is exact opposite of "underline" (call it "overline")
Comment 1 Albert Astals Cid 2007-10-29 20:03:30 UTC
I'll be pleased if you:
a) provide us a pdf to test
or
b) provide us a Adobe Acrobat and a Windows license to reproduce your steps.
Comment 2 narayan 2007-10-31 14:28:30 UTC
b) -> I assume that's a joke :D

pdf -> I will post it here.
Comment 3 Erik Quaeghebeur 2007-11-05 14:04:03 UTC
Created attachment 22002 [details]
testcase pdf
Comment 4 Erik Quaeghebeur 2007-11-05 14:04:43 UTC
Created attachment 22003 [details]
testcase pdf latex source
Comment 5 Erik Quaeghebeur 2007-11-05 14:09:11 UTC
I also encountered this bug with
  0.5.7 (using KDE 3.5.7 "release 72" , openSUSE 10.3) 
and with
  Kubuntu 7.10 version (KDE 3.5.8, I think)

I hope the included testcase pdf helps. I've included the latex source (no you don't need Acrobat nor Windows...) for your convenience.
  pdflatex kpdf-underoverline.tex
on the command line should do it (if you have a non-ancient tex-distribution installed).

Erik
Comment 6 Albert Astals Cid 2007-12-15 16:11:26 UTC
It helps we just need time to fix it
Comment 7 Albert Astals Cid 2008-01-23 23:33:59 UTC
SVN commit 765387 by aacid:

Draw correctly underlined links
BUG: 151359


 M  +4 -4      Gfx.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=765387
Comment 8 Peter Thomassen 2008-02-19 20:28:43 UTC
I just upgraded to KDE 3.5.9 (Ubuntu packages), and the problem still persists, while http://www.kde.org/announcements/changelogs/changelog3_5_8to3_5_9.php claims it has been fixed.
Comment 9 Albert Astals Cid 2008-02-19 20:31:48 UTC
Welcome to the amazing world where ubuntu ships a thing that is NOT kpdf but they still call it kpdf. Open a bug in their bugzilla.
Comment 10 Peter Thomassen 2008-02-19 20:35:35 UTC
Oh, interesting. There was another bug (a crash involving big fonts), that is also fixed in the Ubuntu package. Another crash is still _not_ fixed. Hm. Hm. Thank you.