Hi Mark, news <[EMAIL PROTECTED]> wrote on 09/13/2006 06:09:07 PM:
> http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/dom/svg/SVGTextContent.html Yes, sorry I forgot that textContent was a standard DOM attribute. You found the interface I intended. > ...and so I thought I'd try getExtentOfChar(). I added this: > alert (text.getExtentOfChar(0)); > But then: > > java.lang.NullPointerException > at > org.apache.batik.dom.svg.SVGTextContentSupport.getNumberOfChars(Unknown > Source) Hmm where is this code? Is it in a JavaScript onload handler? > 1) Am I on the right track here with getExtentOfChar()? Yes, absolutely. > 2) What's the deal w/ the NPE, is trunk broken? It is possible. Can you send a small standalone example that shows the problem? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
