[comp.windows.x] Novice text question

scjones@sdrc.UUCP (Larry Jones) (01/26/89)

I've just started using X and I have a question about drawing
text: is there a simple way to change the text path (e.g. I want
the characters to go down the page rather than from left to right),
and is there a simple way to rotate characters (just 90 degree
rotations are sufficient for now).  Any help would be much
appreciated.

----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones@sdrc.UU.NET
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150                  AT&T: (513) 576-2070
"When all else fails, read the directions."

kit@ATHENA.MIT.EDU (Chris D. Peterson) (02/07/89)

> I've just started using X and I have a question about drawing
> text: is there a simple way to change the text path (e.g. I want
> the characters to go down the page rather than from left to right),
> and is there a simple way to rotate characters (just 90 degree
> rotations are sufficient for now).  Any help would be much
> appreciated.

There is no simple way to do any of these things.

The main reason comes from the assumption that everything is pixel based in
X, thus fonts just tell the server which pixels to turn on and off.  This 
makes rotating text difficult.  There is work being done to add a display
postscript extension to the server that would make things like this
much easier.

						Chris D. Peterson     
						MIT X Consortium /
						Project Athena 

Net:	kit@athena.mit.edu		
Phone: (617) 253 - 1326			
USMail: MIT - Room E40-321
	77 Massachusetts Ave.		
	Cambridge, MA 02139