diff options
Diffstat (limited to 'test/xml/bugtests/image.fo')
-rw-r--r-- | test/xml/bugtests/image.fo | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/xml/bugtests/image.fo b/test/xml/bugtests/image.fo new file mode 100644 index 000000000..8c5b3c7c6 --- /dev/null +++ b/test/xml/bugtests/image.fo @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <fo:layout-master-set> + <fo:simple-page-master master-name="simplePM" + page-height="25cm" + page-width="10cm" + margin-top="3cm" + margin-bottom="2cm" + margin-left="3cm" + margin-right="2cm"> + <fo:region-body/> + </fo:simple-page-master> + </fo:layout-master-set> + + <fo:page-sequence master-name="simplePM"> + <fo:flow flow-name="xsl-region-body"> + <fo:block> + <fo:external-graphic src="file:../graphics/page.gif"/> + </fo:block> + + <fo:block> + <fo:external-graphic height="3in" width="3in" src="file:../graphics/page.gif"/> + height=3in width=3in + </fo:block> + + <fo:block> + <fo:external-graphic height="3in" src="file:../graphics/page.gif"/> + height="3in" + </fo:block> + + <fo:block> + <fo:external-graphic width="1.5in" src="file:../graphics/page.gif"/> + width="1.5in" + </fo:block> + + <fo:block> + <fo:external-graphic height="6in" width="4in" src="file:../graphics/page.gif"/> + height="6in" width="4in" + </fo:block> + + </fo:flow> + </fo:page-sequence> +</fo:root> |