> I am trying to get a copyright symbol into a XmString to use in a XmLabel. I > wish to have the XmLabel contain both regular text and the copyright symbol > appended to the end. If this isn't possible, I can use two XmLabels. I've > found fonts that contain the symbol, but haven't figured out how to use them. Try this out: { . . . XmString copyrightLabel; XmString copyrightSymbol; XmString copyright; XFontStruct *font1, *font2; XmFontList fontlist; char buf[ 64 ]; font1 = XLoadQueryFont( XtDisplay( form ), "-*-symbol-medium-r-*-*-14-*-*-*-*-*-*-*" ); font2 = XLoadQueryFont( XtDisplay( form ), "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*" ); fontlist = XmFontListCreate( font1, "charset1" ); fontlist = XmFontListAdd( fontlist, font2, "charset2" ); ( void )sprintf( buf, "%c", '\323' ); copyrightSymbol = XmStringCreate( buf, "charset1" ); ( void )sprintf( buf," ", year, version, mode ); copyrightLabel = XmStringCreate( buf, "charset2" ); copyright = XmStringConcat( copyrightSymbol, copyrightLabel ); ( void )XtVaCreateManagedWidget( "copyright", xmLabelWidgetClass, form, XmNlabelString, copyright, XmNfontList, fontlist, NULL ); XmStringFree( copyrightLabel ); XmStringFree( copyrightSymbol ); XmStringFree( copyright ); XmFontListFree( fontlist ); . . . } Regards Andrew -- Andrew Lister Phone: +61 2 258 1757 DB Bain Group Services Fax: +61 2 258 1000 lister@bain.oz.au The opinions expressed are mine. The company doesn't listen to me anyway. My password there is: zakia