You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ni...@apache.org on 2004/06/21 10:30:34 UTC

svn commit: rev 21530 - forrest/trunk/src/core/context

Author: nicolaken
Date: Mon Jun 21 01:30:31 2004
New Revision: 21530

Modified:
   forrest/trunk/src/core/context/resources.xmap
Log:
Use a gamma that gives similar results in firefox and IE.

Modified: forrest/trunk/src/core/context/resources.xmap
==============================================================================
--- forrest/trunk/src/core/context/resources.xmap	(original)
+++ forrest/trunk/src/core/context/resources.xmap	Mon Jun 21 01:30:31 2004
@@ -39,7 +39,12 @@
          <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
             <parameter name="quality" type="float" value="1.0" />
          </map:serializer>
-         <map:serializer mime-type="image/png" name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer" />
+         <map:serializer mime-type="image/png" 
+                         name="svg2png" 
+                         src="org.apache.cocoon.serialization.SVGSerializer" >
+            <!--<parameter name="background_color" type="color" value="#ff00ff"/>-->
+            <parameter name="gamma" type="float" value="0.48"/>
+         </map:serializer>                
          <map:serializer name="text"   mime-type="text/plain"  src="org.apache.cocoon.serialization.TextSerializer"/>
       </map:serializers>
       <map:transformers default="xslt">