From owner-freebsd-gnome@FreeBSD.ORG Tue Jun 24 17:15:23 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD13D37B401; Tue, 24 Jun 2003 17:15:23 -0700 (PDT) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0326F43FE5; Tue, 24 Jun 2003 17:15:22 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao06.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030625001521.YFLD23505.lakemtao06.cox.net@mezz.mezzweb.com>; Tue, 24 Jun 2003 20:15:21 -0400 To: "julian stacey"@freebsd.org, jhs@berklix.org References: <200306242338.h5ONcDRB046192@tower.berklix.org> Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed From: Jeremy Messenger MIME-Version: 1.0 Date: Tue, 24 Jun 2003 19:15:21 -0500 In-Reply-To: <200306242338.h5ONcDRB046192@tower.berklix.org> User-Agent: Opera7.11/Linux M2 build 406 cc: gnome@freebsd.org cc: david@freetype.org cc: Michael Jansson Subject: Re: 0 size lib/X11/fonts/Type1/fonts.cache-1 silently kills mozilla X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 00:15:24 -0000 On Wed, 25 Jun 2003 01:38:13 +0200 (CEST), <"Julian Stacey"@FreeBSD.ORG> wrote: > > Summary: > A zero size /usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1 kills > mozilla 1.2.1 silently, giving no display & no clue why the exit occurs. > I built a FreeBSD-4.8 src/ & ports/www/mozilla along with 200+ other > favourite ports > ( http://www.berklix.com/~jhs/bin/.csh/make_ports_jhs ) > Mozilla ran OK on build host. Then stripped my 4.7 laptop Totaly > clean (hand job, net cp of 4.8 DESTDIR, then mv of all 4.7 to 4.8 > etc), pkg_add of my 200 packages. OK, except Mozilla. > A comparison of /usr/X11R6 on both hosts detected zero size files: > /usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1 > /usr/X11R6/lib/X11/fonts/TTF/fonts.cache-1 > I don't know how they occured, but /Type1/ was a silent mozilla killer ! Sometimes, when you update fontconfig/Xft or add some new fonts, you might need to run 'fc-cache -f -v' to fix the problem. Let's try that to see if it will help. Cheers, Mezz >> How-To-Repeat: > cd /usr/X11R6/lib/X11/fonts/Type1 > mv fonts.cache-1 fonts.cache-1.MOVED > touch fonts.cache-1 > reboot # OK, well, whatever to re-init the fonts. > cd ; mozilla > >> Fix: > Add an error message if the font scan fails. > Perhaps in work/mozilla/other-licenses/freetype/ > ChangeLog: (T1_Open_Face): Deleted empty subroutines array test > to make sure > ChangeLog: * src/type1/t1load.c (parse_subrs, T1_Open_Face): > Ditto. > src/type1/t1load.c: FT_ERROR(( "T1_Open_Face: no charstrings array > in face!\n" )); > src/type1/t1load.c: T1_Open_Face( T1_Face face ) > src/type1/t1load.h: T1_Open_Face( T1_Face face ); > src/type1/t1objs.c: error = T1_Open_Face( face ); > I've cc'd a couple of mozilla/freetype developers who may know. > > - > Julian Stacey Freelance Internet Consultant & Systems Engineer, > Muenchen. > Ihr Rauchen => mein allergischer Kopfschmerz ! Schnupftabak probieren. -- bsdforums.org 's moderator, mezz.