vhardy 01/11/02 07:03:46 Modified: test-sources/org/apache/batik/test/svg SVGRenderingAccuracyTest.java samples/tests/spec/text textEffect.svg textEffect2.svg textEffect3.svg Log: + SVGRenderingAccuracyTest now validates the SVG files it parses. + Removed incorrect baseline attribute from font-face element in textEffectN.svg samples. Revision Changes Path 1.20 +3 -1 xml-batik/test-sources/org/apache/batik/test/svg/SVGRenderingAccuracyTest.java Index: SVGRenderingAccuracyTest.java =================================================================== RCS file: /home/cvs/xml-batik/test-sources/org/apache/batik/test/svg/SVGRenderingAccuracyTest.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- SVGRenderingAccuracyTest.java 2001/10/22 11:22:26 1.19 +++ SVGRenderingAccuracyTest.java 2001/11/02 15:03:46 1.20 @@ -64,7 +64,7 @@ * all pixel values are the same). * * @author <a href="mailto:[EMAIL PROTECTED]">Vincent Hardy</a> - * @version $Id: SVGRenderingAccuracyTest.java,v 1.19 2001/10/22 11:22:26 vhardy Exp $ + * @version $Id: SVGRenderingAccuracyTest.java,v 1.20 2001/11/02 15:03:46 vhardy Exp $ */ public class SVGRenderingAccuracyTest extends AbstractTest { /** @@ -889,6 +889,8 @@ new Boolean(false)); t.addTranscodingHint(PNGTranscoder.KEY_BACKGROUND_COLOR, new Color(0,0,0,0)); + t.addTranscodingHint(PNGTranscoder.KEY_XML_PARSER_VALIDATING, + new Boolean(true)); return t; } 1.2 +2 -3 xml-batik/samples/tests/spec/text/textEffect.svg Index: textEffect.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textEffect.svg,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- textEffect.svg 2001/10/16 10:26:11 1.1 +++ textEffect.svg 2001/11/02 15:03:46 1.2 @@ -14,7 +14,7 @@ <!-- text effects --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: textEffect.svg,v 1.1 2001/10/16 10:26:11 vhardy Exp $ --> +<!-- @version $Id: textEffect.svg,v 1.2 2001/11/02 15:03:46 vhardy Exp $ --> <!-- ========================================================================= --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> @@ -38,8 +38,7 @@ units-per-em="2048" panose-1="2 11 6 4 2 2 2 2 2 4" ascent="1854" - descent="-434" - baseline="0" /> + descent="-434" /> <missing-glyph horiz-adv-x="1536" d="M256 0V1280H1280V0H256ZM288 32H1248V1248H288V32Z" /> 1.2 +2 -3 xml-batik/samples/tests/spec/text/textEffect2.svg Index: textEffect2.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textEffect2.svg,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- textEffect2.svg 2001/10/16 10:26:11 1.1 +++ textEffect2.svg 2001/11/02 15:03:46 1.2 @@ -14,7 +14,7 @@ <!-- text effects --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: textEffect2.svg,v 1.1 2001/10/16 10:26:11 vhardy Exp $ --> +<!-- @version $Id: textEffect2.svg,v 1.2 2001/11/02 15:03:46 vhardy Exp $ --> <!-- ========================================================================= --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> @@ -38,8 +38,7 @@ units-per-em="2048" panose-1="2 11 6 4 2 2 2 2 2 4" ascent="1854" - descent="-434" - baseline="0" /> + descent="-434" /> <missing-glyph horiz-adv-x="1536" d="M256 0V1280H1280V0H256ZM288 32H1248V1248H288V32Z" /> 1.2 +2 -3 xml-batik/samples/tests/spec/text/textEffect3.svg Index: textEffect3.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textEffect3.svg,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- textEffect3.svg 2001/10/16 10:26:12 1.1 +++ textEffect3.svg 2001/11/02 15:03:46 1.2 @@ -14,7 +14,7 @@ <!-- text effects --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: textEffect3.svg,v 1.1 2001/10/16 10:26:12 vhardy Exp $ --> +<!-- @version $Id: textEffect3.svg,v 1.2 2001/11/02 15:03:46 vhardy Exp $ --> <!-- ========================================================================= --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> @@ -38,8 +38,7 @@ units-per-em="2048" panose-1="2 11 6 4 2 2 2 2 2 4" ascent="1854" - descent="-434" - baseline="0" /> + descent="-434" /> <missing-glyph horiz-adv-x="1536" d="M256 0V1280H1280V0H256ZM288 32H1248V1248H288V32Z" />
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]