forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r429067 - in /forrest/trunk: main/webapp/resources.xmap site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml
Date Sat, 05 Aug 2006 22:28:31 GMT
Author: thorsten
Date: Sat Aug  5 15:28:27 2006
New Revision: 429067

URL: http://svn.apache.org/viewvc?rev=429067&view=rev
Log:
Adding another test link to see whether we can workaround the png diffs.

Modified:
    forrest/trunk/main/webapp/resources.xmap
    forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml

Modified: forrest/trunk/main/webapp/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources.xmap?rev=429067&r1=429066&r2=429067&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources.xmap (original)
+++ forrest/trunk/main/webapp/resources.xmap Sat Aug  5 15:28:27 2006
@@ -175,7 +175,7 @@
         <map:read src="resources/css/{1}.css" mime-type="text/css" />
       </map:match>
       
-     <!-- special case cormer generator pipeline -->
+     <!-- special case corner generator pipeline -->
      <map:match pattern="skin/images**/*c-*-*-*-1*-2*-3*.png">
         <map:call resource="read-svg2png-corner-resource">
            <map:parameter name="path" value="images/{1}" />
@@ -189,7 +189,7 @@
         </map:call>
      </map:match>
      
-     <!-- special case cormer generator pipeline -->
+     <!-- special case corner generator pipeline SVG -->
      <map:match pattern="skin/images**/*c-*-*-*-1*-2*-3*.svg">
       <map:generate src="cocoon://skinconf.xml" />
       <map:transform src="{lm:skin.images.corner.images/{1}.{2}c}">
@@ -202,6 +202,12 @@
       </map:transform>
       <map:call resource="transform-project2text"/>
       <map:serialize type="xml" />
+     </map:match>
+     
+     <!-- DEBUG: special case corner generator pipeline PNG from SVG-->
+     <map:match pattern="skin/images**/*c-*-*-*-1*-2*-3*.test.png">
+      <map:generate src="cocoon:/skin/images{1}/{2}c-{3}-{4}-{5}-1{6}-2{7}-3{8}.svg" />
+      <map:serialize type="svg2png" />
      </map:match>
 
       <map:match pattern="skin/images**/*.*">

Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml?rev=429067&r1=429066&r2=429067&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml Sat Aug
 5 15:28:27 2006
@@ -178,6 +178,11 @@
         href="/skin/images/rc-t-r-50-1body-2menu-3menu.png">the png image</a> 
         via the <a 
         href="http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/serialization/SVGSerializer.html">org.apache.cocoon.serialization.SVGSerializer</a>.</p>
+      <fixme author="thorsten">The following link is for pure debugging 
+        reason. <a 
+        href="/skin/images/rc-t-r-50-1body-2menu-3menu.test.png">test png 
+        image</a> - this image is taken from the svg pipe instead of directly 
+        generating it. </fixme>
     </section>
     <section id="skinconfig">
       <title>Modifying the skinconf.xml of your project</title>



Mime
View raw message