FOP users,

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?  This is not a problem in the sample since the 
image still looks ok enlarged, but in my project the enlargement causes the 
images to look fuzzy and pixelated.

I know I'm missing something obvious but I could not find the answer in the 
archives or elsewhere.  Thanks in advance for any help,

Andrew



      __________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! 
Canada Messenger at http://ca.beta.messenger.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