slt@unislc.uucp (Stuart Timm) (02/28/91)
From article <11413@pasteur.Berkeley.EDU>, by rwahbe@madrone.Berkeley.EDU (Robert Wahbe): > > I've ordered Motif 1.1 documentation, but I need to know something > before its going to arrive for a meeting early this week. > Does the Motif text widget support multiple fonts and/or multiple colors? > I.e. I want to simultaneously display different portions of the text > in different fonts and different colors. > ============================================================================= I don't think the Text widget will do this but you could display different fonts and colors withing a Drawing Area Widget using multiple graphical contexts (GCs). Stuart Timm
marcs@SLC.COM (Marc San Soucie) (03/07/91)
Chris Peterson writes: > What is the performance impact when inserting characters? It would seem like > you would have to update your entire line table every time a word wraps. > Since this line table is BIG this would seem to be quite expensive. A simple wrapping line table should only require local updates when new wrapping occurs. In perverse cases a wrap could ripple down for quite a while, but word-wrapped text has a benign tendency to stop for paragraphs every now and then, which limits the extent of a wrapping ripple. There are scores and scores of multi-font word-wrapping word processors out there these days. They don't appear to have the kind of performance headaches that the Motif Text Widget does. Marc San Soucie Servio Corporation Beaverton, Oregon marcs@slc.com