scaling external graphics

Dezsoe Gaal 'EXTERN' <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <OF2C751A9D.971A1E18-ONC1257B9C.004EDFDA-C1257B9C.00515BAF@porsche.co.at>
Dear Madam / Sir, 

I would like to use external-graphic with scaling, but as a result I get a 
picture WITH an extra black line - sometimes on the bottom, sometimes on 
the left (see output). 
I tried the following example:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:sdt="
http://www.xmlmind.com/foconverter/xsl/extensions/docx/sdt" xmlns:fo="
http://www.w3.org/1999/XSL/Format" xmlns:fox="
http://xml.apache.org/fop/extensions" xmlns:java="
http://xml.apache.org/xalan/java" xmlns:ibex="
http://www.xmlpdf.com/2003/ibex/Format" xmlns:xfc="
http://www.xmlmind.com/foconverter/xsl/extensions">
        <fo:layout-master-set>
                <fo:simple-page-master master-name="A4-first" 
page-width="210mm" page-height="297mm">
                        <fo:region-body margin-top="96mm" 
margin-bottom="40mm" margin-left="20mm" margin-right="20mm"/>
                </fo:simple-page-master>
                <fo:page-sequence-master master-name="basic">
                        <fo:repeatable-page-master-alternatives>
                                <fo:conditional-page-master-reference 
master-reference="A4-first" page-position="any"/>
                        </fo:repeatable-page-master-alternatives>
                </fo:page-sequence-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="basic">
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>
                                <fo:external-graphic height="1.5cm" 
content-height="scale-down-to-fit" src="url(images/zeem.jpg)"/>
                        </fo:block>
                        <fo:block>
                                <fo:external-graphic height="1.5cm" 
content-height="scale-down-to-fit" src="url(images/zeem3.jpg)"/>
                        </fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>

I would highly appreciate it if you could suggest me a solution for the 
above-mentioned problem that can be implemented by XMLMIND XFC.
Thanks in advance.

Regards, 

Dezsö Gaal

Output:



Input files:


--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
zeem.jpg (image/jpeg, 21 KB) - not displayed
zeem3.jpg (image/jpeg, 26.2 KB) - not displayed
external-graphic-output.jpg (image/jpeg, 164.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.