Using the same box to run this with LessTif and OpenMotif both produce a
segfault for me. If this worked for you I suspect that the named font is
available on your Motif boxes.

As a general comment, this is horrible code!! For details

http://www.lesstif.org/PROGRAMMING_TIPS.html

point 2. Not to mention the lack of checking the return value of
XLoadQueryFont.....


On 16-Oct-00 at 17:16, Rick Scott ([EMAIL PROTECTED]) wrote:
> The problem, as I see it, is the "courB14" font doesn't exist, so we need
> to be falling back to something else, somewhere along the line....
> 
> 
> On 16-Oct-00 at 16:35, Alexander Mai
> ([EMAIL PROTECTED]) wrote: > Need something to fill
> your lunch/coffee break today? > 
> > The attached code crashes (SIGSEGV) with LT and works with Motif 2.0 ...
> > 
> > In XmString line 943 fontstruct seems to be 0x0 ...
> > 
> > -- 
> > Alexander Mai
> > [EMAIL PROTECTED]
> > 
> 
> 
> 

Reply via email to