My last stable version was lesstif-0.93.40 .
I had compiled and installed lesstif-0.93.49 and quickly uninstalled
it.

lesstif-0.93.49 has the WITH_XFT switch set. But as the following lines
show: the XmRendition contains no xft_font :


Program received signal SIGSEGV, Segmentation fault.
0x407246b7 in XftCharIndex () from /usr/X11R6/lib/libXft.so.2
(gdb) frame 14
#14 0x4030fd3c in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
(gdb) frame 13
#13 0x4030f7dd in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
(gdb) frame 12
#12 0x4030f3e3 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
(gdb) frame 11
#11 0x4030eb06 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
(gdb) frame 10
#10 0x4030ec64 in CompressExposures () from /usr/X11R6/lib/libXt.so.6
(gdb) frame 9
#9  0x4030efcb in SendExposureEvent () from /usr/X11R6/lib/libXt.so.6
(gdb) frame 8
#8  0x401d8e93 in expose (w=0x8225818, event=0xbffff130, region=0x8193520)
at RowColumn.c:1403
(gdb) frame 7
#7  0x40190d3d in _XmRedisplayGadgets (w=0x8225818, event=0xbffff130,
region=0x8193520) at GadgetUtil.c:246
(gdb) frame 6
#6  0x4015898b in expose (w=0x8226798, event=0xbffff130, region=0x8193520)
at CascadeBG.c:1284
(gdb) frame 5
#5  0x401a0c85 in expose (w=0x8226798, event=0xbffff130, region=0x8193520)
at LabelG.c:1978
(gdb) frame 4
#4  0x402408ff in _XmStringDrawMnemonic (d=0x8192600, w=41943842,
fontlist=0x8240588, string=0x82405a8, gc=0x8240618, x=14, y=5, width=24,
alignment=0 '\0', layout_direction=0 '\0', clip=0xbfffee98,
mnemonic=0xbfffee8e "F", charset=0x8241450 "FONTLIST_DEFAULT_TAG_STRING")
at XmString.c:3783
(gdb) frame 3
#3  0x402405fc in _XmStringDrawUnderline (d=0x8192600, w=41943842,
fontlist=0x8240588, string=0x82405a8, gc=0x8240618, x=14, y=5, width=24,
align=0 '\0', lay_dir=0 '\0', clip=0xbfffee98, underline=0x82bba28)
at XmString.c:3690
(gdb) print (*comp)
$31 = {type = 5 '\005', length = 4, data = 0x8240608 "File", font = 0}
(gdb) frame 2
#2  0x40186ee7 in _XmXftDrawString (dpy=0x8192600, wd=41943842, r=0x8240478,
bpc=1, x=14, y=18, s=0x8240608 "File", len=4) at FontList.c:760
(gdb) print (*r)
$35 = {tag = 0x82404f0 "FONTLIST_DEFAULT_TAG_STRING", type = XmFONT_IS_FONTSET,
 font = 0x823fab0, count = 2, rendition_background = 255,
rendition_foreground = 255,
font_name = 0x8240510 "-*-helvetica-bold-o-normal-*-14-*", load_model = 0 '\0',
 strike_thru_type = 0 '\0', underline_type = 0 '\0', tab_list = 0x0,
dpy = 0x8192600, font_style = 0x0, font_foundry = 0x0, font_encoding = 0x0,
font_size = 0, pixel_size = 0, font_slant = 0, font_spacing = 0,
font_weight = 0, pattern = 0x0, xft_font = 0x0,
xft_foreground = {pixel = 0, color = {red = 0, green = 0, blue = 0, alpha = 0}},
xft_background = {pixel = 0, color = {red = 0, green = 0, blue = 0, alpha = 0}},
font_average_width = 0, font_average_height = 0}
gdb) frame 1
#1  0x4071edc1 in XftDrawString8 () from /usr/X11R6/lib/libXft.so.2
(gdb)



This is a bug in LESSTIF, isn't it? Because the FREETYPE font has been
select by LESSTIF.

winfried
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to