Now here is something interesting:

I've just found a post that relates to the very same problem:=20
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02601.html

He even submitted pictures that clearly shows that the behavior of this
class is perfect  under JDK 1.3 while it is broken under JDK 1.4. So
this might be a bug. I'm gonna try IBM's JDK.

On a related not, I'm using the ACME classes to convert BufferedImages
to .gif. Thoses classes are rather old, is there something better/faster
these days?

Le mar 25/03/2003 =E0 01:44, Doug Felt [CONTRACTOR] a =E9crit :
> David:
>
> I'm mystified by the image you sent.  What locale/jvm are you using?
I'm using the Sun's JDK 1.4.1_01, under SuSE Linux 8.2, with XFree 4.2.
The locale must be the default one, probably US.

>   How are
> you positioning the text on the paths?
Basically, TextStroke is a regular Stroke that draws a text instead of
drawing a line. Internally, it process the Shape submitted by
createStrokedShape(...) segments by segments. For each segment, it
computes how many glyph could fit on it and it.=20

I've attached this source file. The code itself is standalone, but the
unit test in main() relies on several classes of the GLF
(http://developer.java.sun.com/developer/Books/2dgraphics/)

> The code you included looks like it could work, but you can save
yourself=
 a bit
> of trouble.
<snip>
Thanks for you comment, it works well, but it is still way below the
quality of JDK 1.3.

Best Regards,
David Garnier <[EMAIL PROTECTED]>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to