From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52040 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Linux Libertine type Date: Thu, 23 Jul 2009 19:24:00 +0200 Message-ID: <4A689CB0.7020602@wxs.nl> References: <33c64e670907230650j7e9dba3dp4b91fb1afd13aec0@mail.gmail.com> <20090723142122.GB632@khaled-laptop> <4A6874FD.6050701@wxs.nl> <20090723143902.GA2730@khaled-laptop> <4A688AC9.4010000@wxs.nl> <20090723164335.GA12044@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1248369906 19155 80.91.229.12 (23 Jul 2009 17:25:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 17:25:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 23 19:24:59 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MU22L-0006lo-6p for gctc-ntg-context-518@m.gmane.org; Thu, 23 Jul 2009 19:24:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 764D61FB95; Thu, 23 Jul 2009 19:24:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15416-06; Thu, 23 Jul 2009 19:24:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 370981FB38; Thu, 23 Jul 2009 19:24:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1501D1FB38 for ; Thu, 23 Jul 2009 19:24:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16936-05 for ; Thu, 23 Jul 2009 19:24:00 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id A8A8F1FADF for ; Thu, 23 Jul 2009 19:24:00 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n6NHNxt4028501 for ; Thu, 23 Jul 2009 19:24:00 +0200 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 29287-1840426 for ; Thu, 23 Jul 2009 19:23:59 +0200 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <20090723164335.GA12044@khaled-laptop> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=15; city=Almelo; latitude=52.3500; longitude=6.6667; http://maps.google.com/maps?q=52.3500,6.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 265090559 - 22b41c1a6f5d - 20090723 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:52040 Archived-At: Khaled Hosny wrote: > On Thu, Jul 23, 2009 at 06:07:37PM +0200, Hans Hagen wrote: >> Khaled Hosny wrote: >>> On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: >>>> Khaled Hosny wrote: >>>>> ConTeXt doesn't use fontconfig for detecting installed fonts, try to set >>>>> OSFONTDIR to point where your fonts are, then run: >>>>> mtxrun -script fonts -reload >>>>> >>>>> Hans, is it possible to read fontconfig files to detect font directories >>>>> on linux, it is xml files and we would be interested in and >>>>> tags only. >>>> it does, given that the file can be found someplace in the tree (i >>>> added a log message so that one can see of it is found) >>> The standard places for fontconfig files are ~/fonts.conf and >>> /etc/fonts/fonts.conf, any other file is included from there, so may be >>> it should check for those two by default (if it doesn't already). >> no, not there but before I even start thinking about adding that we need >> to investigate all places as i'm pretty sure that on the mac it's >> different (somehow 'standard' in practice is never 'standard') and >> there's also the order to consider, one, more, and in what order then > > What I wrote above is for linux (I assumed the code is checks for OS and > sets default font paths), /etc/fonts/font.conf is read first followed by > any files included from it, then ~/.fonts.conf so that user can override > system settings. > (http://www.fontconfig.org/fontconfig-user.html has more details) well, even the user file has to be specified so we can - first look for a config file in the tex tree - and if not found then load the etc one i've added some logic to the locator but i didn't not test it (the linux servers are production machines that i don't want to touch and i have no time anyway) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________