mattf@milton.u.washington.edu (Matthew Freedman) (07/11/90)
Is there any way of displaying text in more than one font at a time in an XmText widget? It seems very strange to me that OSF would go to all the trouble of inventing compound strings, with multif-font capability, but then in the text widget totally ignore them, and only use plain old character strings. Or am I missing something obvious here? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- = Matthew M. Freedman = = U. of Washington Information Systems mattf@cac.washington.edu = = 4545 15th Ave. NE; 4th Floor (206) 543-5593 = = Seattle, WA 98105 = -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
carl@quad1.quad.com (Carl Priddy) (07/12/90)
The text widget apparently has support for multiple fonts (eg, XmNfontList resource) which will be activated some time in the future. I once asked one of the motif experts at ICS about that, and was told it was not currently implemented. A reasonable alternative is the DrawingArea widget, which is just a definition of an area in which you can put anything you want. The Xlib services provide a comprehensive set of drawing "primitives", and the O'Reilly books provide what comes closest to useable documentation on these features. I have worked all of this out if you are interested in any specifics. carl priddy.