From owner-freebsd-x11@FreeBSD.ORG Fri Dec 31 00:21:13 2004 Return-Path: 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 1902E16A4CE; Fri, 31 Dec 2004 00:21:13 +0000 (GMT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DFEB43D6D; Fri, 31 Dec 2004 00:21:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd05.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1CkAXU-0006bx-00; Fri, 31 Dec 2004 01:21:08 +0100 Received: from Andro-Beta.Leidinger.net (SmCjLBZeZejhqvlWXILNLhOBgsjKvqkmmsYPYkDOLWOJTr+S0O65r7@[217.229.209.92]) by fmrl05.sul.t-online.com with esmtp id 1CkAXG-1EdyAS0; Fri, 31 Dec 2004 01:20:54 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) iBV0KY9L063810; Fri, 31 Dec 2004 01:20:34 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Fri, 31 Dec 2004 01:21:11 +0100 From: Alexander Leidinger To: Joe Marcus Clarke Message-ID: <20041231012111.3ff5704f@Magellan.Leidinger.net> In-Reply-To: <1104451192.23882.2.camel@shumai.marcuscom.com> References: <20041230195320.GA91304@xor.obsecurity.org> <41D46431.4000808@FreeBSD.org> <20041230203049.GA11245@xor.obsecurity.org> <41D46A22.5030906@FreeBSD.org> <20041230211112.GA20159@xor.obsecurity.org> <41D46FC0.5080603@FreeBSD.org> <20041230215331.GA29414@xor.obsecurity.org> <1104447677.8767.3.camel@shumai.marcuscom.com> <20041231004046.715eaea2@Magellan.Leidinger.net> <1104451192.23882.2.camel@shumai.marcuscom.com> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: SmCjLBZeZejhqvlWXILNLhOBgsjKvqkmmsYPYkDOLWOJTr+S0O65r7@t-dialin.net X-TOI-MSGID: 4d04add8-756a-455f-a540-f57849ee453f cc: x11@FreeBSD.org cc: Kris Kennaway Subject: Re: linux vs freebsd fc-cache binaries X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2004 00:21:13 -0000 On Thu, 30 Dec 2004 18:59:52 -0500 Joe Marcus Clarke wrote: > On Fri, 2004-12-31 at 00:40 +0100, Alexander Leidinger wrote: > > On Thu, 30 Dec 2004 18:01:17 -0500 > > Joe Marcus Clarke wrote: > > > > > 2.1.9 would work, but we have not updated due to the API changes. > > > Therefore, I haven't tested 2.1.9 to know if its rendering style will be > > > uglier than 2.1.7. If someone can produce a 2.1.9 RPM, and it renders > > > decent fonts, then by all means, go for it. > > > > Will the data produced by fc-cache be compatible? The linux bits will > > use the FreeBSD fonts, so any files generated in a place which FreeBSD > > sees too has to be compatible. > > The data produced by the two should be compatible, but the versions of > fontconfig are so different, I can't say for sure. The files, however, > are text, so you should be able to visually compare Thanks for the info. > > Another question: does fc-cache produce anything else except the > > fonts.cache files in the fonts directories? If the answer is "no" we > > don't have to run fc-cache in the linux case and installing a font > > doesn't needs a run of the linux version. > > Everytime a font is added, fc-cache should be run to update the font > cache. However, it isn't necessary to do so, since fontconfig will > processes each directory on the fly. That said, fonts.cache-1 is the > only file created by fc-cache. So if we can't find a difference in the generated files, we're safe to not run the linux version of fc-cache, since the FreeBSD version of fc-cache is supposed to be run automatically for every suitable fonts port. That's nice! BTW: If I didn't stumbled upon some ports which fontconfig can't cope with: not every port does this ATM (see "grep -R fc-cache /usr/ports/x11-fonts"). Bye, Alexander. -- If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7