When an <fo:basic-link external-destination="http://...."> is applied within a <fo:table-cell><fo:block> it is rendered ok, but the hotspot is in the row above. The hotspot of an <fo:basic-link> outside a <fo:table> is positioned ok.
I have a similar problem: two <fo:basic-link>'s on a page which display fine, one "mailto:" in a <fo:table-cell> and another "http:" in a <fo:block>. The hotspots are both 3.5cm in from the left margin of the page, and 5cm & 2.5cm down respectively from the actual links. The page is landscape, and I am using fop 0.20.3. I can supply xsl if req'd.
This bug appears to show up only when utilizing cell padding (padding-top or padding-bottom). The problem gets progressively worse as more and more cells are padded on a page.
Fixed link positioning with respect to borders and padding, both within tables and blocks.
Unfortunately this bug seems to be still alive - when rendering to PDF with 0.20.4 I still experience a wrong horizontal displacement (about 3.5cm to the left, as others reported) of the link hotspot. Though I didn't track down the exact setup, this displacement bug might be related to the embedding in a list item, which is in turn embedded in a (second column of a) table. The link hotspots within the third column are placed correctly.
Created attachment 3918 [details] Testcase for Comment From Thilo Schwidurski 2002-11-22 12:06
This is fixed in CVS and will be in (soon to be released) 0.20.5
*** Bug 17604 has been marked as a duplicate of this bug. ***
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed