You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ro...@locus.apache.org on 2000/08/31 23:06:43 UTC

cvs commit: xml-cocoon/webapp sitemap.xmap cocoon.xconf

rossb       00/08/31 14:06:43

  Modified:    webapp   Tag: xml-cocoon2 sitemap.xmap cocoon.xconf
  Log:
  Changed the SVG serializer to use the Sun JPEG encoder, instead of JAI.
  Should now work on nearly all systems so it is also enabled by default.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.7   +10 -10    xml-cocoon/webapp/Attic/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/Attic/sitemap.xmap,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- sitemap.xmap	2000/08/31 14:56:36	1.1.2.6
  +++ sitemap.xmap	2000/08/31 21:06:42	1.1.2.7
  @@ -41,13 +41,13 @@
       <doctype-public>-//W3C//DTD SVG 20000303 Stylable//EN</doctype-public>
       <doctype-system>http://www.w3.org/TR/2000/03/WD-SVG-20000303/</doctype-system>
      </map:serializer> 
  -<!--
  -   <map:serializer name="svg2png" mime-type="image/png" src="org.apache.cocoon.serialization.SVGSerializer">
  -    <encoder>jaipngencoder</encoder>
  +
  +   <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
  +    <encoder>jpegencoder</encoder>
       <transparent>false</transparent>
       <background>#FFFFFF</background>
      </map:serializer> 
  --->
  +
     </map:serializers>
     
     <map:selectors default="browser">
  @@ -114,13 +114,13 @@
       <map:transform src="stylesheets/page/simple-page2vml.xsl"/> 
       <map:serialize type="xml"/> 
      </map:match>
  -<!--
  +
      <map:match pattern="hello.svg">
       <map:generate src="docs/samples/hello-page.xml"/> 
       <map:transform src="stylesheets/page/simple-page2svg.xsl"/> 
  -    <map:serialize type="svg2png"/>
  +    <map:serialize type="svg2jpeg"/>
      </map:match>
  --->
  +
      <map:match pattern="hello.wrl">
       <map:generate src="docs/samples/hello-page.xml"/> 
       <map:transform src="stylesheets/page/simple-page2vrml.xsl"/> 
  @@ -151,12 +151,12 @@
       <map:generate src="docs/samples/fo/readme.fo"/> 
       <map:serialize type="fo2pdf"/> 
      </map:match>
  -<!--
  +
      <map:match pattern="svg">
       <map:generate src="docs/samples/opac.svg"/>
  -    <map:serialize type="svg2png"/>
  +    <map:serialize type="svg2jpeg"/>
      </map:match>
  --->
  +
      <map:match pattern="slides/slides">
       <map:redirect-to resource="slides"/>
      </map:match>
  
  
  
  1.1.2.4   +1 -1      xml-cocoon/webapp/Attic/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/Attic/cocoon.xconf,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- cocoon.xconf	2000/08/31 15:39:52	1.1.2.3
  +++ cocoon.xconf	2000/08/31 21:06:42	1.1.2.4
  @@ -53,7 +53,7 @@
     </component>
   
     <!-- these components are the image encoders for the SVG serializer -->
  -  <component role="jaipngencoder" class="org.apache.cocoon.components.image.JAIPNGEncoder"/>
  +  <component role="jpegencoder" class="org.apache.cocoon.components.image.JPEGEncoder"/>
   
     <sitemap file="sitemap.xmap"/> 
   </cocoon>