From owner-freebsd-mozilla@FreeBSD.ORG Fri Apr 11 03:01:46 2003 Return-Path: Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70C3A37B401 for ; Fri, 11 Apr 2003 03:01:46 -0700 (PDT) Received: from grunt2.ihug.co.nz (grunt2.ihug.co.nz [203.109.254.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A018643FB1 for ; Fri, 11 Apr 2003 03:01:37 -0700 (PDT) (envelope-from mjl@luckie.org.nz) Received: from 203-173-241-229.adsl.ihug.co.nz (lycra.luckie.org.nz) [203.173.241.229] by grunt2.ihug.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 193uox-0002ss-00; Fri, 11 Apr 2003 21:27:43 +1200 Received: from mjl (helo=localhost) by lycra.luckie.org.nz with local-esmtp (Exim 4.12) id 193uox-0007mO-00 for freebsd-mozilla@freebsd.org; Fri, 11 Apr 2003 21:27:43 +1200 Date: Fri, 11 Apr 2003 21:27:42 +1200 (NZST) From: Matthew Luckie To: freebsd-mozilla@freebsd.org Message-ID: <20030411211257.H29835@lycra.luckie.org.nz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: fontconfig and mozilla X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 10:01:46 -0000 well, this isn't _really_ a mozilla problem. i battled getting mozilla to work (i had the well known problem where you start mozilla and no window pops up, and no error message is given). fontconfig had indexed (written a fonts.cache-1) all the directories under /usr/X11R6/lib/X11/fonts including 100dpi, 75dpi, utils and misc (to name a few). I had a look at my netbsd box and it had only indexed /usr/X11R6/lib/X11/fonts/TrueType so I edited /usr/X11R6/etc/fonts/fonts.conf and removed all the entries except for the TrueType directory. I also did a ktrace on mozilla and found that it was barfing shortly after opening a 100dpi font: 275 mozilla-bin CALL open(0x86cbab0,0,0) 275 mozilla-bin NAMI "/usr/X11R6/lib/X11/fonts/100dpi/helvB08.pcf.gz" 275 mozilla-bin RET open 22/0x16 My questions are: - should fontconfig be indexing for all directories after fonts/ ?? - if not, how do i write a local.conf to exclude these directories and only look at the directories with TrueType fonts? [ cvsup'd about 12 hours ago, and I did a portupgrade -Rf mozilla to make sure all libraries that mozilla depended on were upgraded if necessary. ] (please cc: me, i'm not subscribed to this mailing list) Matthew