>----- Oorspronkelijk bericht -----
>> Using version 0.95 of FOP and running 
>> "fop -xml test.xml -xsl test.xsl -pdf test.pdf", 
>> I get the attached PDF.  
>> Notice the image looks bigger in the PDF than it does 
>> in a graphics viewer.  
>> Seeing as the DPI is 72, shouldn't it display the same size in both?  

> I checked the JPEG in an image viewer, and its resolution registers as 96dpi, 
> so the fact
> that it appears slightly larger is expected.

Thanks for your reply Andreas.  Can you tell me which image viewer you are 
using?  I am getting conflicting reports from different viewers regarding the 
DPI.

In any case, when I use GIMP to change the DPI back to 72 (modified image 
attached), it still looks bigger in the PDF (see attached).  And yes I do have 
the zoom set to 100% on both the PDF and image.  


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.

<<attachment: java-loading.jpg>>

<root/>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";>

    <xsl:template match="/">
        
        <fo:root>

            <fo:layout-master-set>
                <fo:simple-page-master master-name="main">
                    <fo:region-body/>                   
                </fo:simple-page-master>
            </fo:layout-master-set>

            <fo:page-sequence master-reference="main">
                <fo:flow flow-name="xsl-region-body">
                    <fo:block>
                        <fo:external-graphic src="url('java-loading.jpg')" />
                    </fo:block>
                </fo:flow>
            </fo:page-sequence>
            
        </fo:root>    
        
    </xsl:template>

</xsl:stylesheet>

Attachment: test.pdf
Description: Adobe PDF document

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to