Domanda

This table is inside another table. Why is the image not scaling to 1 inch?

         <fo:table table-layout="fixed">
                    <fo:table-column column-width="1.00in" />
                    <fo:table-body>
                        <fo:table-row>
                            <fo:table-cell>
                                <fo:block>
                                    <fo:external-graphic src="url('{$url}')" scaling="uniform" scaling-method="auto" width="1.00in"/>                                       
                                </fo:block>  
                            </fo:table-cell>
                        </fo:table-row>                                                 
                    </fo:table-body>
                </fo:table>
È stato utile?

Soluzione

I had to specify the content-width attribute in external-graphic.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top