forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/fresh-site/src/documentation/resources/images group.svg project.svg
Date Sun, 27 Apr 2003 07:25:04 GMT
jefft       2003/04/27 00:25:04

  Modified:    src/resources/fresh-site/src/documentation skinconf.xml
  Added:       src/resources/fresh-site/src/documentation/resources/images
                        group.svg project.svg
  Log:
  Use a SVG for the seed site logos.
  
  Revision  Changes    Path
  1.10      +6 -2      xml-forrest/src/resources/fresh-site/src/documentation/skinconf.xml
  
  Index: skinconf.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/src/documentation/skinconf.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- skinconf.xml	8 Apr 2003 04:28:49 -0000	1.9
  +++ skinconf.xml	27 Apr 2003 07:25:04 -0000	1.10
  @@ -68,13 +68,17 @@
          skin: forrest-site renders it at the top -->
     <project-name>MyProject</project-name>
     <project-url>http://myproj.mygroup.org/</project-url>
  -  <project-logo>images/project-logo.gif</project-logo>
  +  <project-logo>images/project.png</project-logo>
  +  <!-- Alternative static image:
  +  <project-logo>images/project-logo.gif</project-logo> -->
   
     <!-- optional group logo
          skin: forrest-site renders it at the top-left corner -->
     <group-name>MyGroup</group-name>
     <group-url>http://mygroup.org</group-url>
  -  <group-logo>images/group-logo.gif</group-logo>
  +  <group-logo>images/group.png</group-logo>
  +  <!-- Alternative static image:
  +  <group-logo>images/group-logo.gif</group-logo> -->
   
     <!-- optional host logo (e.g. sourceforge logo)
          skin: forrest-site renders it at the bottom-left corner -->
  
  
  
  1.1                  xml-forrest/src/resources/fresh-site/src/documentation/resources/images/group.svg
  
  Index: group.svg
  ===================================================================
  <?xml version="1.0" standalone="no"?>
  
  <!--
         SVG Anteater logo
          jefft@apache.org
  
  To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
  xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
  SVG spec (http://www.w3.org/TR/SVG/) as a reference.
  -->
  
  <!--
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
  -->
  <svg xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink" width="340" height="60" viewBox="0 0 340 60">
    <title>Anteater logo</title>
  
    <defs>
  
      <!--
      <radialGradient id="radialGradient">
        <stop style="stop-color:gold" offset="0"/>
        <stop style="stop-color:orange" offset=".5"/>
        <stop style="stop-color:crimson" offset="1"/>
      </radialGradient>
      <linearGradient id="linearGradient">
        <stop style="stop-color:gold" offset="0"/>
        <stop style="stop-color:orange" offset=".5"/>
        <stop style="stop-color:crimson" offset="1"/>
      </linearGradient>
      -->
  
      <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
        <stop style="stop-color:white" offset="0"/>
        <stop style="stop-color:lightgreen" offset="1"/>
      </linearGradient>
  
      <filter id="shadowFilter"  filterUnits="objectBoundingBox">
        <!-- Takes the alpha channel (black outline of the text), blurs it and saves as
'blur' -->
        <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
        <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
        <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
        <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
        former 'over' the latter, and using the merged result as the finished
        image -->
        <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
      </filter>
  
    </defs>
  
    <g filter="url(#shadowFilter)" fill="url(#gradient)">
      <text x="21%" y="60%" style="font-size:30pt; font-family:Verdana ; text-anchor: middle">
        Group
      </text>
      <text x="55%" y="80%" style="font-size:30pt; font-family:Verdana ; text-anchor: middle">
        Logo
      </text>
      <text x="81%" y="80%" style="font-size:6pt; font-family:Arial ; text-anchor: middle">
        Change this in
      </text>
      <text x="81%" y="95%" style="font-size:6pt; font-family:Arial ; text-anchor: middle">
        group-logo.svg
      </text>
    </g>
  </svg>
  
  
  
  
  
  1.1                  xml-forrest/src/resources/fresh-site/src/documentation/resources/images/project.svg
  
  Index: project.svg
  ===================================================================
  <?xml version="1.0" standalone="no"?>
  
  <!--
         SVG Anteater logo
          jefft@apache.org
  
  To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
  xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
  SVG spec (http://www.w3.org/TR/SVG/) as a reference.
  -->
  
  <!--
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
  -->
  <svg xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink" width="340" height="60" viewBox="0 0 340 60">
    <title>Anteater logo</title>
  
    <defs>
  
      <!--
      <radialGradient id="radialGradient">
        <stop style="stop-color:gold" offset="0"/>
        <stop style="stop-color:orange" offset=".5"/>
        <stop style="stop-color:crimson" offset="1"/>
      </radialGradient>
      <linearGradient id="linearGradient">
        <stop style="stop-color:gold" offset="0"/>
        <stop style="stop-color:orange" offset=".5"/>
        <stop style="stop-color:crimson" offset="1"/>
      </linearGradient>
      -->
  
      <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
        <stop style="stop-color:white" offset="0"/>
        <stop style="stop-color:lightgreen" offset="1"/>
      </linearGradient>
  
      <filter id="shadowFilter"  filterUnits="objectBoundingBox">
        <!-- Takes the alpha channel (black outline of the text), blurs it and saves as
'blur' -->
        <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
        <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
        <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
        <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
        former 'over' the latter, and using the merged result as the finished
        image -->
        <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
      </filter>
  
    </defs>
  
    <g filter="url(#shadowFilter)" fill="url(#gradient)">
      <text x="51%" y="75%" style="font-size:42pt; font-family:Verdana ; text-anchor: middle">
        MyProj
      </text>
      <text x="91%" y="80%" style="font-size:6pt; font-family:Arial ; text-anchor: middle">
        Change this in
      </text>
      <text x="91%" y="95%" style="font-size:6pt; font-family:Arial ; text-anchor: middle">
        project-logo.svg
      </text>
    </g>
  </svg>
  
  
  
  
  

Mime
View raw message