diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/testcases/external-graphic-tiff.xml | 10 | ||||
-rw-r--r-- | test/resources/images/tiff_group4.tif | bin | 0 -> 8656 bytes |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/layoutengine/testcases/external-graphic-tiff.xml b/test/layoutengine/testcases/external-graphic-tiff.xml index 1d93a5d19..1b38504b0 100644 --- a/test/layoutengine/testcases/external-graphic-tiff.xml +++ b/test/layoutengine/testcases/external-graphic-tiff.xml @@ -24,7 +24,7 @@ <fo> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> <fo:layout-master-set> - <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in"> + <fo:simple-page-master master-name="normal" page-width="8in" page-height="8in"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> @@ -38,6 +38,10 @@ <fo:block> <fo:external-graphic src="../../resources/images/bgimg72dpi.tif"/>EOG </fo:block> + <fo:block>TIFF external-graphic (CCITT group 4 encoding)</fo:block> + <fo:block> + <fo:external-graphic src="../../resources/images/tiff_group4.tif"/>EOG + </fo:block> <fo:block>EOF</fo:block> </fo:flow> </fo:page-sequence> @@ -52,5 +56,9 @@ <eval expected="192000" xpath="//flow/block[4]/lineArea/viewport/@ipda"/> <eval expected="192000" xpath="//flow/block[4]/lineArea/viewport/@bpd"/> <eval expected="192000" xpath="//flow/block[4]/lineArea/viewport/@bpda"/> + <eval expected="550588" xpath="//flow/block[6]/lineArea/viewport/@ipd"/> + <eval expected="550588" xpath="//flow/block[6]/lineArea/viewport/@ipda"/> + <eval expected="66705" xpath="//flow/block[6]/lineArea/viewport/@bpd"/> + <eval expected="66705" xpath="//flow/block[6]/lineArea/viewport/@bpda"/> </checks> </testcase> diff --git a/test/resources/images/tiff_group4.tif b/test/resources/images/tiff_group4.tif Binary files differnew file mode 100644 index 000000000..5720e8f0c --- /dev/null +++ b/test/resources/images/tiff_group4.tif |