From owner-freebsd-x11@FreeBSD.ORG Mon Jun 13 12:30:35 2005 Return-Path: X-Original-To: x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAC2516A41C; Mon, 13 Jun 2005 12:30:35 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FDF743D55; Mon, 13 Jun 2005 12:30:35 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by patsy.ijs.si (Postfix) with ESMTP id 58D6017B867; Mon, 13 Jun 2005 14:30:34 +0200 (CEST) Received: from patsy.ijs.si ([127.0.0.1]) by localhost (patsy.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02909-02-6; Mon, 13 Jun 2005 14:30:31 +0200 (CEST) Received: from idefix.ijs.si (idefix.ijs.si [193.2.4.33]) by patsy.ijs.si (Postfix) with ESMTP id 7200617B863; Mon, 13 Jun 2005 14:30:30 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by idefix.ijs.si (Postfix) with ESMTP id C6DA95C0A; Mon, 13 Jun 2005 14:30:30 +0200 (CEST) From: Dejan Lesjak To: freebsd-x11@freebsd.org Date: Mon, 13 Jun 2005 14:30:29 +0200 User-Agent: KMail/1.8 References: <200506111506.j5BF6obi014607@aldan.algebra.com> In-Reply-To: <200506111506.j5BF6obi014607@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506131430.30430.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si Cc: x11@FreeBSD.org, Mikhail Teterin Subject: Re: bug in mkfontdir? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 12:30:35 -0000 On Saturday 11 of June 2005 17:06, Mikhail Teterin wrote: > Hello! > > It seems, that the Xorg's mkfontdir will list both *.bdf and *.pcf > versions of the same file in the generated fonts.dir > > This is contrary to the manual page and the old behavior. > > For example, the x11-fonts/gemini-fonts port creates PCF files from BDF > sources and then runs mkfontdir to create fonts.dir. > > With XFree86's mkfontdir the file will begin with the number 68 and list > the PCFs only -- as per the mkfontdir(1). > > With Xorg's, the file begins with 136 and each font ends up listed twice: > > [...] > gem1c.bdf -gemini-courier-medium-r-normal--8-80-75-75-m-50-koi8-u > gem1c.pcf.gz -gemini-courier-medium-r-normal--8-80-75-75-m-50-koi8-u > gem1cb.bdf -gemini-courier-bold-r-normal--8-80-75-75-m-50-koi8-u > gem1cb.pcf.gz -gemini-courier-bold-r-normal--8-80-75-75-m-50-koi8-u > [...] > > Is this something, I should only talk about with the Xorg people? Hm, does this cause any trouble with using fonts or does it only generate larger file? Actually XFree86 4.4 behaves same as Xorg 6.8.2 - they both have mkfontdir as shell wrapper for mkfontscale. This was changed however in XFree86 4.5 - mkfontdir as separate executable was reinstated because of problem with generating encodings.dir - cvs log might be of use: http://cvsweb.xfree86.org/cvsweb/xc/programs/mkfontdir/Imakefile So in case this causes trouble, Xorg should probably do the same (there doesn't seem to be any changes in Xorg mkfontdir in CVS). It should be eventually fixed in Xorg tree, but if this is a problem we can of course patch it in ports for the time being. Dejan