[comp.windows.x.motif] Drawing rotated text - any ideas?

mip@castle.ed.ac.uk (M I Parsons) (03/28/91)

I'm currently converting a large device display program from VAX UIS to
Motif/X Windows. UIS has the ability to draw text at any given angle. X
doesn't. :-(

I specifically need to draw text rotated 90 degrees - I was wondering if
anyone had tackled this problem already. I don't really want to have to
write my own font handling/drawing routine but I think I may have to.

Thanks in advance,

Mark Parsons.    Edinburgh University High Energy Physics Group.
                 mip@uk.ac.edinburgh.castle

p_davis@epik.enet.dec.com (Peter Davis) (03/30/91)

In article <9354@castle.ed.ac.uk>, mip@castle.ed.ac.uk (M I Parsons) writes...
>I'm currently converting a large device display program from VAX UIS to
>Motif/X Windows. UIS has the ability to draw text at any given angle. X
>doesn't. :-(

Since you're running on VMS, you should be able to use the Display PostScript
extension.  This is an extension to the X Server to support PostScript
functions.  It's very easy to draw text at any angle, and at any size, and to
take advantages of all the graphics features of the PostScript language.

Depending on your current version of VMS, you may have to upgrade to get this.
Contact your local DEC office for information.

-pd