Hi, Thx for the bug report.
The offset between the clickable area and the image si due to dthe default vertical alignement on the baseline. Adding the property alignment-adjust="after-edge" should help you in this workaround. Pascal > -----Message d'origine----- > De : Kamal Bhatt [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 24 mai 2007 00:13 > À : [email protected] > Objet : Re: basic-link and external-graphic > > Pascal Sancho wrote: > > Hi Kamal, > > > > What you describe occurs with FOP 0.93 and latest TRUNK. > > > > This seems to be a bug. > > ====================== > > The active area is limited to font-size. > > > > The fo:basic-link return one or more inline areas, and one > of these areas should be defined by the fo:external-graphic. > > And the XSL-FO REC 1.1 [1] says: "...typically by clicking > on any of the containing areas". > > > > Can you please fill in a bug in bugzilla [2]? > > > > > > Workaround: > > =========== > > Adding the property font-size="{$banner_height}mm" > elsewhere does the trick.. > > > > Note that thought FOP accepts this property in the > fo:basic-link, it is not in the list of appliable properties > for this FO in the spec [1]. > > Inserting a fo:wrapper in the fo:basic-link and giving it > the property > > font-size is a good thing > > > Thanks for that. I put the font-size in and the link still > doesn't span the full image (it misses the top). I am using > sans-serif. That said, this is acceptable to me as it covers > the middle of the image. I noticed that if I put the > font-size on the enclosing block, my static content (which my > link is in) overflows. Is this a bug (symptomatic of the same > problem) or a feature of FO? > > Cheers. > > PS. I have that bug report: > > 42501 > -- > Kamal Bhatt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
