From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52037 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Linux Libertine type Date: Thu, 23 Jul 2009 19:43:35 +0300 Message-ID: <20090723164335.GA12044@khaled-laptop> References: <33c64e670907230650j7e9dba3dp4b91fb1afd13aec0@mail.gmail.com> <20090723142122.GB632@khaled-laptop> <4A6874FD.6050701@wxs.nl> <20090723143902.GA2730@khaled-laptop> <4A688AC9.4010000@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0000385382==" X-Trace: ger.gmane.org 1248367496 10618 80.91.229.12 (23 Jul 2009 16:44:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 16:44:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 23 18:44:49 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 1MU1PU-0004B3-QJ for gctc-ntg-context-518@m.gmane.org; Thu, 23 Jul 2009 18:44:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DDDC81FB74; Thu, 23 Jul 2009 18:44:47 +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 14227-05; Thu, 23 Jul 2009 18:44:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7C7F1FB7E; Thu, 23 Jul 2009 18:44:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1EAFB1FB7E for ; Thu, 23 Jul 2009 18:43:59 +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 13485-06-2 for ; Thu, 23 Jul 2009 18:43:46 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 587FD1FB74 for ; Thu, 23 Jul 2009 18:43:45 +0200 (CEST) Original-Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n6NGhidK029068 for ; Thu, 23 Jul 2009 18:43:44 +0200 Original-Received: by ewy17 with SMTP id 17so1130536ewy.2 for ; Thu, 23 Jul 2009 09:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=1PD/876v2KCaSykhHd542/jaRb8r0whYdveC2d/X4vU=; b=GYFTQV9vilkZumYym4UmoSJddu4IzuA0fcyZ8YGraxjgsKnIlPwFczQ/97gB2ASoNY 3H4eRtFcN42d7WS+aA9Ctf/wTJpfxlsE1CQYWxfMIlUn8wAefNgI3v/hrpYErOBhDBEn jmKGwQrNJ2XV0MSOKx1ZRRY8uAdlXKFya1ntE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Le1Z1HT/I2H0thcmbPG3Peg5juqbY6jURtncaG4JGdmnE0KxDynu6gvZkm8PCSYCsL 9jivp6AA4l7U4cbOELNUifV09fObmMTbzjohsIWl+8Nzmb0CJGiXJItiH/nT5SUp/vSm P2wu705kouuKlO7H0kZxbdDDMnHT0awDGrjW8= Original-Received: by 10.216.30.195 with SMTP id k45mr651508wea.197.1248367423106; Thu, 23 Jul 2009 09:43:43 -0700 (PDT) Original-Received: from localhost ([41.238.232.118]) by mx.google.com with ESMTPS id 24sm501115eyx.23.2009.07.23.09.43.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Jul 2009 09:43:42 -0700 (PDT) In-Reply-To: <4A688AC9.4010000@wxs.nl> User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.217; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 265075262 - 79bd4cb56d3e - 20090723 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:52037 --===============0000385382== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 s= et >>>> OSFONTDIR to point where your fonts are, then run: >>>> mtxrun -script fonts -reload >>>> >>>> Hans, is it possible to read fontconfig files to detect font directori= es >>>> 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=20 >>> 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 = =20 > to investigate all places as i'm pretty sure that on the mac it's =20 > different (somehow 'standard' in practice is never 'standard') and =20 > 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) Regards, Khaled --=20 Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpokzYACgkQRoqITGOuyPJjFQCfWuombdWFmtfiuXBQojxYD6tq MysAoIhLsFR27MUqaKSbQDzp0fn7bmzj =79J1 -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- --===============0000385382== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0000385382==--