]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added a variant with fox:conversion-mode="bitmap" for visual testing.
authorJeremias Maerki <jeremias@apache.org>
Wed, 29 Oct 2008 09:40:44 +0000 (09:40 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 29 Oct 2008 09:40:44 +0000 (09:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708851 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/standard-testcases/external-graphic_svg.xml

index 80c3e5afc382718d6e84e9257495938056f622cf..8ec53ea3d62e8fc68607221841e5ef32461d8336 100644 (file)
@@ -23,7 +23,8 @@
     </p>
   </info>
   <fo>
-    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
+    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"
+          xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
       <fo:layout-master-set>
         <fo:simple-page-master master-name="normal" page-width="10in" page-height="15in">
           <fo:region-body/>
           <fo:block text-align="left">
             <fo:external-graphic src="../../resources/images/img-w-size.svg"/>EOG
           </fo:block>
+          <fo:block text-align="left">SVG external-graphic with an intrinsic size and fox:conversion-mode="bitmap"</fo:block>
+          <fo:block text-align="left">
+            <fo:external-graphic src="../../resources/images/img-w-size.svg"
+              fox:conversion-mode="bitmap"/>EOG
+          </fo:block>
           <fo:block>EOF</fo:block>
         </fo:flow>
       </fo:page-sequence>