xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From me...@apache.org
Subject svn commit: r1356646 [12/12] - in /xmlgraphics/fop/trunk: ./ examples/embedding/java/embedding/ examples/embedding/java/embedding/atxml/ examples/embedding/java/embedding/events/ examples/embedding/java/embedding/intermediate/ src/java/org/apache/fop/a...
Date Tue, 03 Jul 2012 09:47:25 GMT
Modified: xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/table_backgrounds.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/table_backgrounds.xml?rev=1356646&r1=1356645&r2=1356646&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/table_backgrounds.xml (original)
+++ xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/table_backgrounds.xml Tue Jul
 3 09:46:41 2012
@@ -23,12 +23,12 @@
     </p>
   </info>
   <variables>
-    <table>../../resources/images/fop-logo-gray-8bit.png</table>
-    <col>../../resources/images/bgimg72dpi.jpg</col>
-    <body>../../resources/images/fop-logo-color-24bit.png</body>
-    <row>../../../examples/fo/graphics/asf-logo.png</row>
-    <headFoot>../../../examples/fo/graphics/asf-logo.png</headFoot>
-    <header>../../resources/images/box1.png</header>
+    <table>../resources/images/fop-logo-gray-8bit.png</table>
+    <col>../resources/images/bgimg72dpi.jpg</col>
+    <body>../resources/images/fop-logo-color-24bit.png</body>
+    <row>../../examples/fo/graphics/asf-logo.png</row>
+    <headFoot>../../examples/fo/graphics/asf-logo.png</headFoot>
+    <header>../resources/images/box1.png</header>
   </variables>
   <fo>
     <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
@@ -157,7 +157,7 @@
   </fo>
   <checks>
     <!-- table background -->
-    <eval expected="color=#f0f0f0,url=../../resources/images/fop-logo-gray-8bit.png,repeat=no-repeat,horiz=53480,vertical=108960"
+    <eval expected="color=#f0f0f0,url=../resources/images/fop-logo-gray-8bit.png,repeat=no-repeat,horiz=53480,vertical=108960"
       xpath="//flow/block[2]/@background"/>
 
     <!-- column background, header 1.1 -->
@@ -166,7 +166,7 @@
     <eval expected="4000"   xpath="//flow/block[2]/block[1]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[1]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[1]/@background"
-      expected="color=#ffff00,url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=54000"/>
+      expected="color=#ffff00,url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=54000"/>
 
     <!-- table-header background, header 1.1 -->
     <eval expected="136000" xpath="//flow/block[2]/block[2]/@ipd"/>
@@ -174,7 +174,7 @@
     <eval expected="4000"   xpath="//flow/block[2]/block[2]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[2]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[2]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=5877"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=5877"/>
 
 
     <!-- column background, header 1.2 -->
@@ -183,7 +183,7 @@
     <eval expected="4000"   xpath="//flow/block[2]/block[4]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[4]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[4]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=54000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=54000"/>
 
     <!-- table-header background, header 1.2 -->
     <eval expected="136000" xpath="//flow/block[2]/block[5]/@ipd"/>
@@ -191,7 +191,7 @@
     <eval expected="4000"   xpath="//flow/block[2]/block[5]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[5]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[5]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-67367,vertical=5877"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-67367,vertical=5877"/>
 
     <!-- header 1.2 background -->
     <eval expected="136000" xpath="//flow/block[2]/block[6]/@ipd"/>
@@ -199,7 +199,7 @@
     <eval expected="2000"   xpath="//flow/block[2]/block[6]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[6]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[6]/@background"
-      expected="color=#ffff00,url=../../resources/images/box1.png,repeat=no-repeat,horiz=47995,vertical=4995"/>
+      expected="color=#ffff00,url=../resources/images/box1.png,repeat=no-repeat,horiz=47995,vertical=4995"/>
 
 
     <!-- column background, cell 1.2 -->
@@ -208,7 +208,7 @@
     <eval expected="60000"  xpath="//flow/block[2]/block[7]/@top-offset"/>
     <eval expected="146000" xpath="//flow/block[2]/block[7]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[7]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-26000,vertical=-2000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-26000,vertical=-2000"/>
 
     <!-- table-row background, cell 1.2 -->
     <eval expected="140000" xpath="//flow/block[2]/block[8]/@ipd"/>
@@ -216,7 +216,7 @@
     <eval expected="60000"  xpath="//flow/block[2]/block[8]/@top-offset"/>
     <eval expected="146000" xpath="//flow/block[2]/block[8]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[8]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-65367,vertical=-9122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-65367,vertical=-9122"/>
 
 
     <!-- column background, cell 1.1 -->
@@ -225,7 +225,7 @@
     <eval expected="62000"  xpath="//flow/block[2]/block[10]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[10]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[10]/@background"
-      expected="color=#ffff00,url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-4000"/>
+      expected="color=#ffff00,url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-4000"/>
 
     <!-- table-row background, cell 1.1 -->
     <eval expected="136000" xpath="//flow/block[2]/block[11]/@ipd"/>
@@ -233,7 +233,7 @@
     <eval expected="62000"  xpath="//flow/block[2]/block[11]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[11]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[11]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-11122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-11122"/>
 
 
     <!-- column background, cell 2.2 -->
@@ -242,7 +242,7 @@
     <eval expected="86000"  xpath="//flow/block[2]/block[13]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[13]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[13]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-28000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-28000"/>
 
     <!-- table-row background, cell 2.2 -->
     <eval expected="136000" xpath="//flow/block[2]/block[14]/@ipd"/>
@@ -250,7 +250,7 @@
     <eval expected="86000"  xpath="//flow/block[2]/block[14]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[14]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[14]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-67367,vertical=-11122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-67367,vertical=-11122"/>
 
 
     <!-- column background, cell 3.1 -->
@@ -259,7 +259,7 @@
     <eval expected="110000" xpath="//flow/block[2]/block[16]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[16]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[16]/@background"
-      expected="color=#ffff00,url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-52000"/>
+      expected="color=#ffff00,url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-52000"/>
 
     <!-- table-row background, cell 3.1 -->
     <eval expected="280000" xpath="//flow/block[2]/block[17]/@ipd"/>
@@ -267,7 +267,7 @@
     <eval expected="110000" xpath="//flow/block[2]/block[17]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[17]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[17]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-9122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-9122"/>
 
 
     <!-- column background, cell 4.1 -->
@@ -276,7 +276,7 @@
     <eval expected="138000" xpath="//flow/block[2]/block[19]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[19]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[19]/@background"
-      expected="color=#ffff00,url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-80000"/>
+      expected="color=#ffff00,url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-80000"/>
 
     <!-- table-row background, cell 4.1 -->
     <eval expected="136000" xpath="//flow/block[2]/block[20]/@ipd"/>
@@ -284,7 +284,7 @@
     <eval expected="138000" xpath="//flow/block[2]/block[20]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[20]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[20]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-9122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-9122"/>
 
 
     <!-- column background, cell 4.2 -->
@@ -293,7 +293,7 @@
     <eval expected="136000" xpath="//flow/block[2]/block[22]/@top-offset"/>
     <eval expected="146000" xpath="//flow/block[2]/block[22]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[22]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-26000,vertical=-78000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-26000,vertical=-78000"/>
 
     <!-- table-row background, cell 4.2 -->
     <eval expected="140000" xpath="//flow/block[2]/block[23]/@ipd"/>
@@ -301,7 +301,7 @@
     <eval expected="136000" xpath="//flow/block[2]/block[23]/@top-offset"/>
     <eval expected="146000" xpath="//flow/block[2]/block[23]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[23]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-65367,vertical=-7122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-65367,vertical=-7122"/>
 
 
     <!-- column background, cell 5.2 -->
@@ -310,7 +310,7 @@
     <eval expected="164000" xpath="//flow/block[2]/block[25]/@top-offset"/>
     <eval expected="146000" xpath="//flow/block[2]/block[25]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[25]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-26000,vertical=-106000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-26000,vertical=-106000"/>
 
     <!-- table-body background, cell 5.2 -->
     <eval expected="140000" xpath="//flow/block[2]/block[26]/@ipd"/>
@@ -318,7 +318,7 @@
     <eval expected="164000" xpath="//flow/block[2]/block[26]/@top-offset"/>
     <eval expected="146000" xpath="//flow/block[2]/block[26]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[26]/@background"
-      expected="url=../../resources/images/fop-logo-color-24bit.png,repeat=no-repeat,horiz=-94513,vertical=9964"/>
+      expected="url=../resources/images/fop-logo-color-24bit.png,repeat=no-repeat,horiz=-94513,vertical=9964"/>
 
 
     <!-- column background, cell 5.1 -->
@@ -327,7 +327,7 @@
     <eval expected="166000" xpath="//flow/block[2]/block[28]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[28]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[28]/@background"
-      expected="color=#ffff00,url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-108000"/>
+      expected="color=#ffff00,url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-108000"/>
 
     <!-- table-body background, cell 5.1 -->
     <eval expected="136000" xpath="//flow/block[2]/block[29]/@ipd"/>
@@ -335,7 +335,7 @@
     <eval expected="166000" xpath="//flow/block[2]/block[29]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[29]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[29]/@background"
-      expected="url=../../resources/images/fop-logo-color-24bit.png,repeat=no-repeat,horiz=47487,vertical=7964"/>
+      expected="url=../resources/images/fop-logo-color-24bit.png,repeat=no-repeat,horiz=47487,vertical=7964"/>
 
 
     <!-- column background, cell 6.2 -->
@@ -344,7 +344,7 @@
     <eval expected="210000" xpath="//flow/block[2]/block[31]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[31]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[31]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-152000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-152000"/>
 
     <!-- table-body background, cell 6.2 -->
     <eval expected="136000" xpath="//flow/block[2]/block[32]/@ipd"/>
@@ -352,7 +352,7 @@
     <eval expected="210000" xpath="//flow/block[2]/block[32]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[32]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[32]/@background"
-      expected="url=../../resources/images/fop-logo-color-24bit.png,repeat=no-repeat,horiz=-96513,vertical=-36036"/>
+      expected="url=../resources/images/fop-logo-color-24bit.png,repeat=no-repeat,horiz=-96513,vertical=-36036"/>
 
 
     <!-- column background, footer 1.1 -->
@@ -361,7 +361,7 @@
     <eval expected="284000" xpath="//flow/block[2]/block[34]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[34]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[34]/@background"
-      expected="color=#ffff00,url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-226000"/>
+      expected="color=#ffff00,url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-226000"/>
 
     <!-- table-footer background, footer 1.1 -->
     <eval expected="136000" xpath="//flow/block[2]/block[35]/@ipd"/>
@@ -369,7 +369,7 @@
     <eval expected="284000" xpath="//flow/block[2]/block[35]/@top-offset"/>
     <eval expected="4000"   xpath="//flow/block[2]/block[35]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[35]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-9122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=76633,vertical=-9122"/>
 
 
     <!-- column background, footer 1.2 -->
@@ -378,7 +378,7 @@
     <eval expected="284000" xpath="//flow/block[2]/block[37]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[37]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[37]/@background"
-      expected="url=../../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-226000"/>
+      expected="url=../resources/images/bgimg72dpi.jpg,repeat=no-repeat,horiz=-28000,vertical=-226000"/>
 
     <!-- table-footer background, footer 1.2 -->
     <eval expected="136000" xpath="//flow/block[2]/block[38]/@ipd"/>
@@ -386,7 +386,7 @@
     <eval expected="284000" xpath="//flow/block[2]/block[38]/@top-offset"/>
     <eval expected="148000" xpath="//flow/block[2]/block[38]/@left-offset"/>
     <eval                   xpath="//flow/block[2]/block[38]/@background"
-      expected="url=../../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-67367,vertical=-9122"/>
+      expected="url=../../examples/fo/graphics/asf-logo.png,repeat=no-repeat,horiz=-67367,vertical=-9122"/>
 
   </checks>
 </testcase>

Modified: xmlgraphics/fop/trunk/test/test.xconf
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/test.xconf?rev=1356646&r1=1356645&r2=1356646&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/test.xconf (original)
+++ xmlgraphics/fop/trunk/test/test.xconf Tue Jul  3 09:46:41 2012
@@ -3,6 +3,7 @@
 
   <!-- Switch off font caching for the purposes of unit testing -->
   <use-cache>false</use-cache>
+  <font-base>.</font-base>
   
   <renderers>
     <renderer mime="application/pdf">
@@ -19,18 +20,14 @@
         <value>null</value>
       </filterList>
       <fonts>
-        <font metrics-url="test/resources/fonts/ttf/glb12.ttf.xml" embed-url="test/resources/fonts/ttf/glb12.ttf">
+        <font metrics-url="resources/fonts/ttf/glb12.ttf.xml" embed-url="resources/fonts/ttf/glb12.ttf">
           <font-triplet name="Gladiator" style="normal" weight="normal"/>
           <font-triplet name="Gladiator" style="normal" weight="bold"/>
         </font>
-        <font metrics-url="test/resources/fonts/ttf/glb12.ttf.ansi.xml" embed-url="test/resources/fonts/ttf/glb12.ttf">
+        <font metrics-url="resources/fonts/ttf/glb12.ttf.ansi.xml" embed-url="resources/fonts/ttf/glb12.ttf">
           <font-triplet name="Gladiator-Ansi" style="normal" weight="normal"/>
           <font-triplet name="Gladiator-Ansi" style="normal" weight="bold"/>
         </font>
-        <font metrics-url="test/resources/fonts/ttf/glb12.ttf.ansi.xml">
-          <font-triplet name="Gladiator-Non-Embedded" style="normal" weight="normal"/>
-          <font-triplet name="Gladiator-Non-Embedded" style="normal" weight="bold"/>
-        </font>
       </fonts>
     </renderer>
   </renderers>

Modified: xmlgraphics/fop/trunk/test/xml/pdf-a/with-cmyk-images.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/xml/pdf-a/with-cmyk-images.fo?rev=1356646&r1=1356645&r2=1356646&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/xml/pdf-a/with-cmyk-images.fo (original)
+++ xmlgraphics/fop/trunk/test/xml/pdf-a/with-cmyk-images.fo Tue Jul  3 09:46:41 2012
@@ -8,7 +8,7 @@
   <fo:page-sequence master-reference="A4">
     <fo:flow flow-name="xsl-region-body">
       <fo:block>Hello World!</fo:block>
-      <fo:block><fo:external-graphic src="test/resources/images/cmyk.jpg"/></fo:block>
+      <fo:block><fo:external-graphic src="resources/images/cmyk.jpg"/></fo:block>
     </fo:flow>
   </fo:page-sequence>
 </fo:root>

Modified: xmlgraphics/fop/trunk/test/xml/pdf-a/with-rgb-images.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/xml/pdf-a/with-rgb-images.fo?rev=1356646&r1=1356645&r2=1356646&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/xml/pdf-a/with-rgb-images.fo (original)
+++ xmlgraphics/fop/trunk/test/xml/pdf-a/with-rgb-images.fo Tue Jul  3 09:46:41 2012
@@ -8,7 +8,7 @@
   <fo:page-sequence master-reference="A4">
     <fo:flow flow-name="xsl-region-body">
       <fo:block>Hello World!</fo:block>
-      <fo:block><fo:external-graphic src="test/resources/images/bgimg300dpi.jpg"/></fo:block>
+      <fo:block><fo:external-graphic src="resources/images/bgimg300dpi.jpg"/></fo:block>
     </fo:flow>
   </fo:page-sequence>
 </fo:root>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message