Looking at the "list", the symbol is "boldfontname" (no underscores -- see 
line 205). Please try again.

Angus


On Monday 22 January 2001 14:55, hawk wrote:
> jmarc jiggled
> > >>>>> "Richard" == Richard E Hawkins <[EMAIL PROTECTED]> writes:
> 
> > Richard> #1 0x40152b17 in XFreeFont () from /usr/X11R6/lib/libX11.so.6
> > Richard> #2 0x400486e2 in fl_set_font_name () from
> > Richard> /usr/X11R6/lib/libforms.so.0.89 #3 0x80d9057 in LyXGUI::init
> > Richard> (this=0x82ff360) at lyx_gui.C:201 
> 
> > Can you do something like 
> 
> > (gdb) frame 3
> > (gdb) list
> > (gdb) print bold_font_name
> 
> (gdb) run
> Starting program: /usr/local/bin/lyx 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x8305475 in ?? ()
> (gdb) frame 3
> #3  0x80d9057 in LyXGUI::init (this=0x82ff360) at lyx_gui.C:201
> 201             int bold = fl_set_font_name(FL_BOLD_STYLE, 
boldfontname.c_str());
> (gdb) list
> 196                     // "?" means "scale that font"
> 197             string fontname = lyxrc.popup_font_name 
> 198                                    + "-*-*-*-?-*-*-*-*-"  
> 199                                    + lyxrc.font_norm_menu;
> 200
> 201             int bold = fl_set_font_name(FL_BOLD_STYLE, 
boldfontname.c_str());
> 202             int normal = fl_set_font_name(FL_NORMAL_STYLE, 
fontname.c_str());
> 203             if (bold < 0)
> 204                     lyxerr << "Could not set menu font to "
> 205                            << boldfontname << endl;
> (gdb) pring bold_font_name
> Undefined command: "pring".  Try "help".
> (gdb) print bold_font_name
> No symbol "bold_font_name" in current context.
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y
> 
> 
> I hope this means more to you than to me :)
> 
> Also, I removed the 100dpi fonts the other day when I was scrounging
> for compile space.  If anywone speaks debian, this may help:
> 
> fac13pts/0:hawk>dpkg -l | grep -e font -e fnt
> ii  console-data   1999.08.29-12. Keymaps, fonts, charset maps, fallback 
table
> ii  console-tools  0.2.3-14       Linux console and font utilities.
> ii  console-tools- 0.2.3-14       Shared libraries for Linux console and 
font 
> ii  gsfonts        5.10a-2        Fonts for the ghostscript interpreter
> ii  t1lib1         1.0-2          Type 1 font rasterizer library - runtime
> rc  xfonts-100dpi  3.3.6-2        100 dpi fonts for X
> ii  xfonts-75dpi   3.3.6-2        75 dpi fonts for X
> ii  xfonts-base    3.3.6-2        standard fonts for X
> ii  xfonts-scalabl 3.3.6-2        scalable fonts for X
> ii  xfs            3.3.6-11potato X font server
> 
> I'm running the "testing" branch.
> 
> hawk

Reply via email to