[6369] in java-interest

home help back first fref pref prev next nref lref last post

Re: Rotate Text?

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Sat Mar 30 02:44:26 1996

Date:         Mon, 25 Mar 1996 09:46:35 -0800
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Arthur van Hoff <avh@HAVEFUN.COM>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

Hi Brian,

> How do I rotate text? I want to use g.drawString
> to draw text at an angle.

There is no way to do that using the AWT.

> Do I have to write my own? Or has someone else
> already done it? I am considering using some
> X Window rotate font code and translating it
> into Java or using the Hershey vector font set.

That would be possible, but you would need to write some
native code.

Have fun,

        Arthur van Hoff

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

home help back first fref pref prev next nref lref last post