Skip site navigation (1)Skip section navigation (2)
Date:      24 Feb 2003 23:40:07 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Carl Makin <carl@xena.IPAustralia.gov.au>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Mozilla failure with GTk1.2 and XFT2
Message-ID:  <1046148007.48782.106.camel@shumai.marcuscom.com>
In-Reply-To: <1046147358.11390.120.camel@newton.aipo.gov.au>
References:  <1046147358.11390.120.camel@newton.aipo.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-jFCRGf6ZvC0xKguFi03N
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-02-24 at 23:29, Carl Makin wrote:
> Hi All,
>=20
> I'm having real trouble with Mozilla 1.2.1 and Xft (I think).
>=20
> 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;
>=20
>=20
> Core was generated by `mozilla-bin'.
> Program terminated with signal 11, Segmentation fault.
>=20
> (gdb) back
> #0  0x29185186 in XftLockFace () from /usr/X11R6/lib/libXft.so.2
> #1  0x29150922 in nsFontMetricsXft::CacheFontMetrics () from /usr/X11R6/l=
ib/mozilla/components/libgfx_gtk.so
> #2  0x291508c0 in nsFontMetricsXft::RealizeFont () from /usr/X11R6/lib/mo=
zilla/components/libgfx_gtk.so
> #3  0x2914fd33 in nsFontMetricsXft::Init () from /usr/X11R6/lib/mozilla/c=
omponents/libgfx_gtk.so
> #4  0x280b5159 in nsFontCache::GetMetricsFor () from /usr/X11R6/lib/mozil=
la/./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/li=
b/mozilla/components/libgklayout.so
> #8  0x29613af3 in nsBlockReflowState::nsBlockReflowState () from /usr/X11=
R6/lib/mozilla/components/libgklayout.so
> #9  0x2960abf4 in nsBlockFrame::Reflow () from /usr/X11R6/lib/mozilla/com=
ponents/libgklayout.so
> #10 0x2970e96c in nsBoxToBlockAdaptor::Reflow () from /usr/X11R6/lib/mozi=
lla/components/libgklayout.so
>=20
> (right down to  #78, but I think the above is the most useful)
>=20
>=20
> 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).
>=20
> FreeBSD newton.aipo.gov.au 4.7-STABLE FreeBSD 4.7-STABLE #5: Mon Feb 10
> 16:42:16 EST 2003   =20
> carl@newton.aipo.gov.au:/usr/obj/usr/src/sys/NEWTON  i386
>=20
> 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.
>=20
> 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.

fontconfig is independent of XF86Config.  If you want to remove a patch
from Xft, you will have to edit fonts.conf, and explicitly list the
directories with fonts you wish to test.

>=20
> 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?

Most like it's a bad font.  Try reinstalling the default XFree86 font
packages, and make sure you have XFree86-fontScalable-4.2.0 installed.=20
I have never had a Mozilla font problem.  I have the following font
packages installed:

XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0_4 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
Xft-2.1_2           A client-sided font API for X applications
bitstream-vera-1.0_2 Bitstream Vera collection of 10 TrueType fonts
fontconfig-2.1_2    An XML-based font configuration API for X Windows
fontilus-0.4        A font view for Nautilus
freetype-1.3.1_2    A free and portable TrueType font rendering engine
freetype2-2.1.3_1   A free and portable TrueType font rendering engine
mplayer-fonts-0.50  A font pack for the mplayer OSD and SUB
ttmkfdir-0.0_1      Create fonts.scale file for use with TrueType font
server
urwfonts-1.0        Another font package for X
webfonts-0.21_1     TrueType core fonts for the Web

With a set of my personal TrueType stash collected from all over the
web.

Joe

>=20
>=20
> Thanks,
>=20
> Carl.
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-jFCRGf6ZvC0xKguFi03N
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+WvOnb2iPiv4Uz4cRAiUcAJ9G0WNiUuI6fWLK4s/Zdr+V+7oIMgCgoHuY
v7HcxeEX2Mi7lcpmW+OuaT8=
=jWC8
-----END PGP SIGNATURE-----

--=-jFCRGf6ZvC0xKguFi03N--


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?1046148007.48782.106.camel>