tkormann 02/03/24 18:52:27
Modified: sources/org/apache/batik/bridge SVGTextElementBridge.java
Log:
- remove the 'opacity' fix as it's not a fix :)
'opacity' is handled in addPaintAttributes.
- 2 reference images need to be updated
Revision Changes Path
1.58 +19 -2
xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java
Index: SVGTextElementBridge.java
===================================================================
RCS file:
/home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- SVGTextElementBridge.java 21 Mar 2002 15:26:51 -0000 1.57
+++ SVGTextElementBridge.java 25 Mar 2002 02:52:27 -0000 1.58
@@ -69,7 +69,7 @@
*
* @author <a href="[EMAIL PROTECTED]">Stephane Hillion</a>
* @author <a href="[EMAIL PROTECTED]">Bill Haneman</a>
- * @version $Id: SVGTextElementBridge.java,v 1.57 2002/03/21 15:26:51 hillion Exp $
+ * @version $Id: SVGTextElementBridge.java,v 1.58 2002/03/25 02:52:27 tkormann Exp $
*/
public class SVGTextElementBridge extends AbstractGraphicsNodeBridge {
@@ -190,7 +190,24 @@
addPaintAttributes(as, e, tn, textDecoration, ctx);
tn.setAttributedCharacterIterator(as.getIterator());
- super.buildGraphicsNode(ctx, e, node);
+ //
+ // DO NOT CALL super, 'opacity' is handle during addPaintAttributes()
+ //
+
+ // 'filter'
+ node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
+ // 'mask'
+ node.setMask(CSSUtilities.convertMask(e, node, ctx));
+ // 'clip-path'
+ node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
+ // 'pointer-events'
+ node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
+
+ if (ctx.isDynamic()) {
+ initializeDynamicSupport(ctx, e, node);
+ }
+ // Handle children elements such as <title>
+ SVGUtilities.bridgeChildren(ctx, e);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]