xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tkorm...@apache.org
Subject cvs commit: xml-batik/sources/org/apache/batik/bridge SVGTextElementBridge.java
Date Tue, 13 Nov 2001 10:35:25 GMT
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="bill.haneman@ireland.sun.com>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: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message