> From: Glenn Rowe <[EMAIL PROTECTED]>
>
> Using the Text2D class, I've created a Text2D object as follows:
>
> Text2D frontText = new Text2D("New string",
> new Color3f(1.0f, 1.0f, 0.0f), "Helvetica", 100, Font.BOLD);
>
> This displays OK. I now attempt to double the size of the text using:
>
> frontText.setRectangleScaleFactor(2.0f);
> frontText.setString("New string");
>
> But the text now completely vanishes.
The rectangle scale factor starts out at 1/256. To double the size of the
Text2D, use a factor of 2/256. No, this isn't documenented.
Doug Gehringer
Sun Microsystems
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".