Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!hplabs!hplabsb!garfinke
From: garfinke@hplabsb.UUCP (Dan Garfinkel)
Newsgroups: comp.windows.x
Subject: Re: Clipping off + Rotate Text + Transparent Window
Message-ID: <70700007@hplabsb.UUCP>
Date: 19 Aug 88 15:51:00 GMT
References: <8808182231.AA13005@ebenezer.SWS->
Organization: Hewlett-Packard Laboratories - Palo Alto, CA
Lines: 18

>
>	2) Rotate text 
>
>	    Mainly for the same reason as the above, we need to rotate the text 
>	   in the specified angle, at least vertically as well as horizontally. 

There is no "easy" way to do this with X.  However, I've seen two different
solutions to rotating text.  

	1) Use "stroke fonts" (or any other non-raster fonts) and rotate 
	   the points of the characters to draw at any angle you wish.

	2) Create a raster font with the glyphs rotated 90 degrees and 
	   use X text calls to write them out a character at a time.
	   (I know someone who did this under X10 and it worked pretty
	   well).


-Dan Garfinkel / HPLabs