docs-common/images Makefile, NONE, 1.1 watermark.png, NONE, 1.1 watermark.svg, NONE, 1.1

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Wed Nov 23 06:30:31 UTC 2005


Author: jtr

Update of /cvs/docs/docs-common/images
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9927

Added Files:
	Makefile watermark.png watermark.svg 
Log Message:
Sample DRAFT watermark image, SVG source, and a Makefile to rule them all.



--- NEW FILE Makefile ---
.SUFFIXES: .png .svg

%.png: %.svg
	batik -m image/png -h 768 -w 1024 -d `pwd`/$@ file://`pwd`/$<

SVGFILES=watermark.svg
PNGFILES=${SVGFILES:.svg=.png}

all:	${PNGFILES}

clean:

distclean clobber: clean
	${RM} ${PNGFILES}

check:	${PNGFILES}
	xv ${PNGFILES}


--- NEW FILE watermark.svg ---
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
              "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"[
  <!ENTITY  bgColor   "rgb( 200, 200, 200 )" >
  <!ENTITY  fgColor   "rgb( 255, 100, 100 )" >
]>
<svg viewBox="0 0 1023 767" xmlns="http://www.w3.org/2000/svg" version="1.1">
  <title>Fedora Doc Project Watermark</title>
  <desc>The word DRAFT rendered in grey at 45 degrees</desc>
  <g fill="&bgColor;" font-family="Helvetica" font-size="1in" stroke="&bgColor;" stroke-width="10" text-anchor="start" transform="translate( 1, 1 )">
    <g transform="translate( 512, 384 ) rotate( -45 )">
      <text font-stretch="wider" text-anchor="middle" x="0" y="0">DRAFT</text>
      <text fill="&fgColor;" font-size="0.6in" font-stretch="wider" stroke="rgb( 230, 200, 200 )" stroke-width="1.5" text-anchor="middle" x="0" y="1in">Not for reference.</text>
    </g>
  </g>
</svg>




More information about the docs-commits mailing list