hillion 02/03/14 02:34:44 Modified: samples henryV.svg textRotate.svg textRotateShadows.svg Log: font-size percentages are relative to the parent font-size, not to the viewport. Revision Changes Path 1.5 +6 -6 xml-batik/samples/henryV.svg Index: henryV.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/henryV.svg,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- henryV.svg 20 Nov 2001 15:08:22 -0000 1.4 +++ henryV.svg 14 Mar 2002 10:34:44 -0000 1.5 @@ -14,7 +14,7 @@ <!-- Test description here --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: henryV.svg,v 1.4 2001/11/20 15:08:22 hillion Exp $ --> +<!-- @version $Id: henryV.svg,v 1.5 2002/03/14 10:34:44 hillion Exp $ --> <!-- ========================================================================= --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500"> @@ -30,16 +30,16 @@ <filter id="wideBlur" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox" x="-20%" y="-20%" width="120%" height="120%" > <feGaussianBlur stdDeviation="8 8" x="-10%" y="-10%" width="120%" height="120%" /> </filter> - <clipPath id="shakeSpeare" font-family="Serif" font-weight="bold" font-size="25%" text-anchor="middle" transform="scale(0.8, 1.5)"> + <clipPath id="shakeSpeare" font-family="Serif" font-weight="bold" font-size="125" text-anchor="middle" transform="scale(0.8, 1.5)"> <text x="50%" y="28%">Henry</text> - <text font-size="40%" x="50%" y="60%">V</text> + <text font-size="200" x="50%" y="60%">V</text> </clipPath> - <g font-family="Serif" font-weight="bold" font-size="25%" text-anchor="middle" id="henryV" transform="scale(0.8, 1.5)"> + <g font-family="Serif" font-weight="bold" font-size="125" text-anchor="middle" id="henryV" transform="scale(0.8, 1.5)"> <text x="50%" y="28%">Henry</text> - <text font-size="40%" x="50%" y="60%">V</text> + <text font-size="200" x="50%" y="60%">V</text> </g> -<g font-family="Serif" id="text" font-style="oblique" font-size="3%" fill="DarkRed" transform="scale(1.10, 0.92)"> +<g font-family="Serif" id="text" font-style="oblique" font-size="15" fill="DarkRed" transform="scale(1.10, 0.92)"> <text x="3%" y="6%">O for a Muse of fire, that would ascend</text> <text x="3%" y="9%">The brightest heaven of invention,</text> <text x="3%" y="12%">A kingdom for a stage, princes to act</text> 1.8 +4 -4 xml-batik/samples/textRotate.svg Index: textRotate.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/textRotate.svg,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- textRotate.svg 20 Nov 2001 15:08:22 -0000 1.7 +++ textRotate.svg 14 Mar 2002 10:34:44 -0000 1.8 @@ -14,7 +14,7 @@ <!-- Test description here --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: textRotate.svg,v 1.7 2001/11/20 15:08:22 hillion Exp $ --> +<!-- @version $Id: textRotate.svg,v 1.8 2002/03/14 10:34:44 hillion Exp $ --> <!-- ========================================================================= --> <?xml-stylesheet type="text/css" href="./tests/resources/style/test.css" ?> @@ -26,10 +26,10 @@ <!-- ============================================================= --> <defs> - <text x="0" y="0" transform="scale(1.6, 1.6)" fill="DarkSlateBlue" text-anchor="middle" font-size="8%" font-family="Serif" id="words">batik</text> + <text x="0" y="0" transform="scale(1.6, 1.6)" fill="DarkSlateBlue" text-anchor="middle" font-size="40" font-family="Serif" id="words">batik</text> </defs> <g id="testContent"> - <text class="title" x="50%" y="10%" font-size="3%" text-anchor="middle" > + <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" > Text Transformation</text> <g opacity="1.0" transform="translate(225, 250)" id="rotatedText"> <g opacity="0.95" transform="scale(1.05) rotate(15)"> @@ -85,7 +85,7 @@ </g></g></g></g></g> </g></g></g></g></g> </g></g></g></g> - <text style="font-size:15%;font-family:Serif;fill:white" text-anchor="middle">batik</text> + <text style="font-size:75;font-family:Serif;fill:white" text-anchor="middle">batik</text> </g> </g> 1.9 +3 -3 xml-batik/samples/textRotateShadows.svg Index: textRotateShadows.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/textRotateShadows.svg,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- textRotateShadows.svg 20 Nov 2001 15:08:22 -0000 1.8 +++ textRotateShadows.svg 14 Mar 2002 10:34:44 -0000 1.9 @@ -14,7 +14,7 @@ <!-- Test description here --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: textRotateShadows.svg,v 1.8 2001/11/20 15:08:22 hillion Exp $ --> +<!-- @version $Id: textRotateShadows.svg,v 1.9 2002/03/14 10:34:44 hillion Exp $ --> <!-- ========================================================================= --> <?xml-stylesheet type="text/css" href="./tests/resources/style/test.css" ?> @@ -27,7 +27,7 @@ <defs> <clipPath id="textClip"> - <text x="0" y="0" text-anchor="middle" font-size="80%" font-family="Serif" id="text">batik</text> + <text x="0" y="0" text-anchor="middle" font-size="400" font-family="Serif" id="text">batik</text> </clipPath> <g id="words"> <use xlink:href="#text"/> @@ -69,7 +69,7 @@ </defs> <g id="testContent"> - <text class="title" x="50%" y="10%" font-size="3%" text-anchor="middle" > + <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" > Text Transformation</text> <g transform="translate(-40,-30)" filter="url(#blur)" fill="black" opacity="0.2"> <use xlink:href="#rotatedText"/>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]