tkormann    01/11/13 02:35:25

  Modified:    sources/org/apache/batik/bridge SVGTextElementBridge.java
  Log:
  The content of a <a> element is now displayed properly when it's inside a
  <text> element. The anchor does not work yet.
  
  Revision  Changes    Path
  1.39      +4 -3      
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.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- SVGTextElementBridge.java 2001/11/05 20:04:11     1.38
  +++ SVGTextElementBridge.java 2001/11/13 10:35:24     1.39
  @@ -56,7 +56,7 @@
    * Bridge class for the &lt;text> element.
    *
    * @author <a href="[EMAIL PROTECTED]>Bill Haneman</a>
  - * @version $Id: SVGTextElementBridge.java,v 1.38 2001/11/05 20:04:11 deweese Exp $
  + * @version $Id: SVGTextElementBridge.java,v 1.39 2001/11/13 10:35:24 tkormann Exp $
    */
   public class SVGTextElementBridge extends AbstractSVGBridge
       implements GraphicsNodeBridge, ErrorConstants {
  @@ -319,8 +319,9 @@
   
                   nodeElement = (Element)n;
   
  -                if (n.getLocalName().equals(SVG_TSPAN_TAG)
  -                    || n.getLocalName().equals(SVG_ALT_GLYPH_TAG)) {
  +                if (n.getLocalName().equals(SVG_TSPAN_TAG) ||
  +                    n.getLocalName().equals(SVG_ALT_GLYPH_TAG) ||
  +                 n.getLocalName().equals(SVG_A_TAG)) {
   
                       buildAttributedStrings(ctx,
                                              nodeElement,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to