Hello,

I currently have the problem that I need to layout a text along a path
using Java2d.

The input basically is a String, a Font, a color and a GeneralPath
containing a single linestring describing the desired layout path, and
the desired output is a Shape (or an array of shapes) containing the
fully layouted shapes for the glyphs.

I already tried org/apache/batik/ext/awt/font/TextPathLayout as I found
hints pointing to this by googling. It is a rather self-contained code
(only pulls in single other Class), but it seems to give rather funny
results.

Is it feasible to use the org/apache/batik/gvt/text/GlyphLayout class? I
tried to play with it a little, but got rather confused by all the other
code that gets pulled in, and especially with the meaning of the "int []
charMap" parameter.

Does anybody know another, more self-contained solution for this
problem? (We prefer copy-lefted, but "free linking" licenses like the LGPL.)

If you know a better point where to discuss this problem, please feel
free to redirect me.

Thanks in advance,
Markus


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

Reply via email to