Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x Subject: Re: Xview, mixed fonts in a panel? Keywords: Xview , fonts panels Message-ID: <136804@sun.Eng.Sun.COM> Date: 7 Jun 90 01:49:56 GMT References: <1883@xn.LL.MIT.EDU> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 14 In article <1883@xn.LL.MIT.EDU> rooney@XN.LL.MIT.EDU (Bill Rooney) writes: > In SunView I was able to mix fonts within a panel, but in > Xview I can't seem to get it to work. By design (the Open Look design, that is), you cannot use multiple fonts in a panel. You can, however, create pixmaps and use XDrawString() using the font you want and use the pixmap as the PANEL_LABEL_IMAGE for a panel button, but you're going to be awfully non-openlook compliant. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.