Display on Sun Solaris

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

1 post / 0 new
Display on Sun Solaris

 

I'm trying to run program on x86 machine and display it on an old Sun machine, but application crashes. Debugging showed that the problem connected to TrueType fonts representation, _XmRendXftFont(rend) is NULL, where rend is rendition got for string with type XmMULTIBYTE_TEXT (with XmCHARSET_TEXT everything is ok).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e89b90 (LWP 18461)]
0x05e927c3 in ComputeMetrics (rend=0x9200160, text=0x91fffdc, byte_count=9,
type=XmMULTIBYTE_TEXT, which_seg=3, width=0xb7e8814e, height=0xb7e8814c,
ascent=0x0, descent=0x0, utf8=1 '\001') at XmString.c:6315
6315 asc = _XmRendXftFont(rend)->ascent;

I'm a total beginner at Motif and don't even understand how font is connected with text type or what this type is :) I'll be very grateful for any help. And sorry for my terrible English :)