DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42501>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42501

           Summary: basic-link not sizing correctly for external-graphics
           Product: Fop
           Version: 0.93
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If you have a basic-link and the link is "attached" to a external graphic, the
full image should become a link, but only a small portion of the image is
clickable. See code below. Even though no text is specified, the link seems to
vertically span based on a font-size. The work around to this problem is to
include a font-size on the external-graphic or to enclose the external-graphic
in a wrapper and include the font-size on the wrapper. The first solution is
invalid FO, so use at own risk.

     <fo:block>
        <fo:basic-link external-destination="{$banner_link}" 
padding-top="{$banner_height}mm">
          <fo:external-graphic
            scaling="uniform"
            src="{$logo}"
            content-height="{$banner_height}mm"
            content-width="60mm" />
        </fo:basic-link>
    </fo:block>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to