Ollie:
>I'm trying to use the GlyphVector.setGlyphPosition() method to render curved
>text--I want to render the text in the shape of an arc.
Is the following what you are trying to achieve:?
appletviewer http://www.glyphic.com/transform/applet/7wiggly.html
(Make sure you are running this with a 1.2 or later appletviewer.)
>I can't get the setGlyphPosition() method to do anything yet.
Frankly, I couldn't get GlyphVector to do much of anything more than layout
simple lines of text. For things like that in the applet above I had to do
my own positioning and drawing (and believe me, it took a lot of work to
make it look right...). I really tried to use GlyphVector, even for just
changing the individual transforms, but still couldn't get it to work well,
if at all.
If you can dispense with GlyphVector, you'll be much happier....
- Mark
P.S.: You might be interested in my Affine Transforms in Java2D tutorial. See:
http://www.glyphic.com/transform/
-------------------
Mark Lentczner
President
Glyphic Technology
444 Castro Street, Suite 811
Mtn. View, CA 94041
[EMAIL PROTECTED]
http://www.glyphic.com/
650/964-5311 voice
650/967-4379 fax
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/