Bug 7337

Summary: border around external image leaves empty space
Product: Fop - Now in Jira Reporter: Marcel <mjmare>
Component: imagesAssignee: fop-dev
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 0.94   
Target Milestone: ---   
Hardware: PC   
OS: other   

Description Marcel 2002-03-21 21:01:59 UTC
The sizes on external images (JPG) seem to be 1 or 2 pixels off.

When I use:

<fo:block 
border="1px solid black">
        <fo:external-graphic 
src="url('file:winkelpui_splash.jpg')"/>
</fo:block>

there is an empty space 
between the top-border and the image, and between the bottom border and the image.
Comment 1 Pascal Sancho 2007-10-23 07:15:50 UTC
IMHO, that seems to be a correct behaviour.
Setting font-size="0pt" should resolve this.

In addition, this occurs in FOP 0.94 too.
Comment 2 Glenn Adams 2012-04-01 13:50:40 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs