On Thu, 25 Apr 2002, Torben H. Nielsen wrote: > Hi > > Lately there has been written alot about freetype, so I thought I'd > give it a try. But when i run dia it exit's with a segfault! > > It happens for example when use start->new and places any text holding > object in the workarea. > > Heres a trace drom gdb. > > (gdb) bt #0 0x080b224f in font_getfont_with_style () [...] > What am I doing wrong. Is it X font path (and how do i change the path) > or something else
Looks to me like you're not finding any fonts. It is supposed to give a warning about that, though. If you compile with --enable-debug as well (and make sure that lib/font.c is recompiled), we can see exactly what line it happened in (my guess is 933:). The X font path (assuming you use XFree86 v. 4) is determined by the /etc/X11/XF86Config-4 file (without -4 for previous versions), in the "Files" section, there should be a number of FontPath entries that are actual paths to font dirs. You can also see in the X log file what the actual font path is (typically /var/log/XFree86.0.log). -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| H�rdgrim of Numenor "I do not agree with a word that you say, but I |---------------------------- will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? _______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
