[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

899.0. "Non-Horizontal Text" by TEACH::ART (Think the UNTHINKABLE) Wed Jun 07 1989 18:10

	Am I missing something obvious, or is there no built in way
	to write a a text string that is rotated away from the horizontal 
	in DECW ?  Other windowing systems provide some way to specify an 
	angular offset for text.

	It seems to me that, if I want a string of characters
	going up the side of a graph (for instance), I actually have
	to use a font that's already rotated.  Is that the case ?
	If not, what am I missing ?

	Thanks,
	 Art Baker
	 DC Training Center

T.RTitleUserPersonal
Name
DateLines
899.1A limitation of the X drawing modelSDSVAX::SWEENEYGotham City's Software ConsultantWed Jun 07 1989 18:186
    This is a limitation of the X drawing model.  Potentially a font could
    be composed of rotated text, but that would need to be specially done.
    
    The general solution to this will be Display Postscript, quo vide the
    note I wrote earlier today.

899.2not with vanilla XNEURON::NICHOLSONA belly as big as an oil spillWed Jun 07 1989 18:219
    X gives you basic functionality (all the flash will come from
    extensions) so you can't rotate text (or rectancles or elipses)
    with it.
    
    I've assumed that the display post-script extension will do rotating
    text, but I'm not sure.
    
    Mark

899.3How DECterm (slowly) rotates ReGIS textHANNAH::MESSENGERBob MessengerWed Jun 07 1989 20:4811
DECterm draws rotated text by writing each character to a pixmap, calling
XGetImage to read the bitmap pattern, rotating the pattern in memory, and then
drawing the rotated character with XPutImage.  This is on monochrome systems;
on color systems it's even worse, because it has to draw the (single plane)
pattern to a pixmap and then use that pixmap as a stipple pattern to draw in
the main window.

A server extension would speed this up quite a bit...

				-- Bob

899.4VWSENG::KLEINSORGEToys 'R' UsThu Jun 08 1989 12:485
899.5DPS will, uh, would do it all rightDECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Thu Jun 08 1989 15:494
If we had Display Postscript, that would definitely rotate text :-)

Burns