I am upgrading an existing application to use antialiased fonts and everthing is working as expected. The antialiased font show up and they look great. One small part of the code looks like this. static int XtScaleTextItem(MenuItem mi) { XmFontList fontlist; i=0; XmFontListInitFontContext( &fontContext, fontlist ); mi->size.x = XTextWidth( I have the following defined in a resource file The font list code does not seem to be able to retrieve the rendertable "myfnt" that was defined in the resource file. I cannot find a method that returns a render table based upon the name of the render table and the widget. Is it not possible to modify the values from the resource file inside of the C code. Thanks for any insight anyone might be able to provide. |
|||
