You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Bill Haneman <Bi...@ireland.sun.com> on 2000/11/10 19:01:17 UTC
[commit] Text selection
Hi:
In case there is work going on in the <text> area subsequent
to Dean's textPath addition, I have checked in a preliminary
text selection implementation.
There is no highlighting yet, sorry, but the selection
appears in the console and the clipboard.
Click--to-select-all works in all cases. drag-selection
works for unrotated text. There is still a bug in drag-selection
of rotated text but it does not regress anything that was
working before.
-Bill
> -----------------------------------------------------------------
> Activated text selection in svgviewer. Also some
> cosmetic fixes for code-wrap and javadoc.
>
> Modified Files:
> sources/org/apache/batik/refimpl/gvt/ConcreteTextNode.java
> sources/org/apache/batik/refimpl/gvt/renderer/BasicTextPainter.java
> (bug fixes for hit testing)
> sources/org/apache/batik/refimpl/gvt/renderer/StaticRenderer.java
> (turned on initialization of selector
> for text nodes.)
> sources/org/apache/batik/refimpl/gvt/renderer/StrokingTextPainter.java
> (cosmetic fixes)
> sources/org/apache/batik/test/gvt/TestSelector.java
> (fixed, for testing, but not used by svgviewer)
> Added Files:
> sources/org/apache/batik/refimpl/gvt/text/ConcreteTextSelector.java
> (instance that implements Selector)
> ----------------------------------------------------------------
------
Bill Haneman +353 1 8199279
Ireland Desktop Engineering
Sun Microsystems Ireland Ltd.