Skip site navigation (1)Skip section navigation (2)
Date:      25 Feb 2003 15:29:18 +1100
From:      Carl Makin <carl@xena.IPAustralia.gov.au>
To:        gnome@freebsd.org
Subject:   Mozilla failure with GTk1.2 and XFT2
Message-ID:  <1046147358.11390.120.camel@newton.aipo.gov.au>

next in thread | raw e-mail | index | archive | help
Hi All,

I'm having real trouble with Mozilla 1.2.1 and Xft (I think).

If I do a standard "portupgrade -vR mozilla" it builds using
Gtk-1.2.10_9 and Xft-2.1_1.  I try to start it and it just exits
quietly.  Running it as root generated a core.  I loaded gdb on
mozilla-bin and the core, typed "back" and got the following;


Core was generated by `mozilla-bin'.
Program terminated with signal 11, Segmentation fault.

(gdb) back
#0  0x29185186 in XftLockFace () from /usr/X11R6/lib/libXft.so.2
#1  0x29150922 in nsFontMetricsXft::CacheFontMetrics () from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so
#2  0x291508c0 in nsFontMetricsXft::RealizeFont () from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so
#3  0x2914fd33 in nsFontMetricsXft::Init () from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so
#4  0x280b5159 in nsFontCache::GetMetricsFor () from /usr/X11R6/lib/mozilla/./libgkgfx.so
#5  0x280b4116 in DeviceContextImpl::GetMetricsFor () from /usr/X11R6/lib/mozilla/./libgkgfx.so
#6  0x29632bcc in nsHTMLReflowState::UseComputedHeight () from /usr/X11R6/lib/mozilla/components/libgklayout.so
#7  0x29632d31 in nsHTMLReflowState::CalcLineHeight () from /usr/X11R6/lib/mozilla/components/libgklayout.so
#8  0x29613af3 in nsBlockReflowState::nsBlockReflowState () from /usr/X11R6/lib/mozilla/components/libgklayout.so
#9  0x2960abf4 in nsBlockFrame::Reflow () from /usr/X11R6/lib/mozilla/components/libgklayout.so
#10 0x2970e96c in nsBoxToBlockAdaptor::Reflow () from /usr/X11R6/lib/mozilla/components/libgklayout.so

(right down to  #78, but I think the above is the most useful)


Of course a build without Xft works fine.  I have Mozilla 1.2.1 with Xft
running perfectly at home so I'm reasonably sure it's something weird
with my setup here.  Phoenix also has exactly the same problem, however
I'm running Gnome 2.2 which also uses Xft with no apparent problems.
(I'm definitely getting anti-aliasing in gnome-terminal for example).

FreeBSD newton.aipo.gov.au 4.7-STABLE FreeBSD 4.7-STABLE #5: Mon Feb 10
16:42:16 EST 2003    
carl@newton.aipo.gov.au:/usr/obj/usr/src/sys/NEWTON  i386

and a heap of fonts.  My current guess is that I have a bad font but I
can't work out which one (or more) it might be.

Does fontconfig/Xft use the information generated by fc-cache over the
font path information in XF86Config?  Ie,if I remove a path in
XF86Config, will it still be found by Xft? I've tried removing font
paths using xset, but it seemed to make little difference.

Does anyone have any other ideas on what could be happening here?  Does
anyone know of software that will check fonts (including Truetype fonts)
to see if they are broken?


Thanks,

Carl.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1046147358.11390.120.camel>