From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42085 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: fonts (in luatex) (again) Date: Thu, 3 Jul 2008 12:22:18 +0300 Message-ID: <20080703092217.GA23499@khaled-laptop> References: <441B3D72-7906-465D-881E-2A821D1CBFC5@di.unito.it> <1214675743.7122.23.camel@elbereth> <82AFE03A-ADC3-452A-9D96-5E4877B52C9E@di.unito.it> <48694AEA.6020900@wxs.nl> <486BA19D.3030103@wxs.nl> <703A5A7C-8784-40A9-9A63-99BD7D6AFE6D@di.unito.it> <486BFCA2.9050806@wxs.nl> <9D7F4A96-1212-4066-9092-756033DA71B7@di.unito.it> <6faad9f00807030057p4b4043deib1f730884c15ffcc@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1372996951==" X-Trace: ger.gmane.org 1215077120 3295 80.91.229.12 (3 Jul 2008 09:25:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 09:25:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 11:26:06 2008 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 1KEL3S-0000nh-VY for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2008 11:24:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F9301FE4C; Thu, 3 Jul 2008 11:23:50 +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 09527-02-8; Thu, 3 Jul 2008 11:23:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88AEE1FDD2; Thu, 3 Jul 2008 11:23:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 991631FD83 for ; Thu, 3 Jul 2008 11:23:00 +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 10277-01-13 for ; Thu, 3 Jul 2008 11:22:26 +0200 (CEST) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by ronja.ntg.nl (Postfix) with ESMTP id 9BBD91FDD2 for ; Thu, 3 Jul 2008 11:22:26 +0200 (CEST) Original-Received: by fk-out-0910.google.com with SMTP id 18so538840fks.2 for ; Thu, 03 Jul 2008 02:22:26 -0700 (PDT) Original-Received: by 10.78.191.3 with SMTP id o3mr2242077huf.48.1215076946185; Thu, 03 Jul 2008 02:22:26 -0700 (PDT) Original-Received: from localhost ( [41.234.93.182]) by mx.google.com with ESMTPS id p27sm1803hub.53.2008.07.03.02.22.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jul 2008 02:22:25 -0700 (PDT) In-Reply-To: <6faad9f00807030057p4b4043deib1f730884c15ffcc@mail.gmail.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42085 Archived-At: --===============1372996951== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 03, 2008 at 09:57:51AM +0200, Mojca Miklavec wrote: > On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote: > > But, Hans, in the post Mojca says I have the same problem:) > > uh? >=20 > In font-syn.lua there is > local pathlist =3D fonts.names.getpaths() >=20 > This used to contain some hard-coded paths for Mac users, but then > Hans switched to reading fonts.conf with >=20 > -- name is "fonts.conf" > local name =3D fonts.names.xml_configuration_file or "" > if name ~=3D "" then > -- this works on Hans' computer, but not here; name becomes empty > local name =3D input.find_file(name,"other") > -- so this loop is never entered and system fonts are never read > if name ~=3D "" then > collect(xml.collect_texts(xml.load(name),"dir",true)) > end > end >=20 > I guess that Hans has a fonts.conf in his TeX tree, while Linux & Mac > users don't, and luaTeX doesn't know where to look for fonts.conf. > What's worse: I suspect that OSFONTSDIR might be completely ignored. >=20 > No, don't ask me where fonts.conf should be. Mine are at > /Users/mojca/.fonts.conf > /private/etc/fonts/fonts.conf > but I have no idea what's the proper/default location if any. If this is fontconfig's fonts.conf, the per user file is ~/.fonts.conf, the system wide file depends on your installation. But not every user will have a ~/.fonts.conf (it must be manually created AFAIK). Regards, Khaled >=20 >=20 > The /private/etc/fonts/fonts.conf one says: >=20 > > ~/.fonts.conf >=20 > > local.conf >=20 > So I guess that's where the other one gets included. >=20 > Mojca >=20 > > -a- > > On 3 Jul 2008, at 00:09, Hans Hagen wrote: > > > > Andrea Valle wrote: > > > > Ah. > > So, what the mail by Mojca meant? > > the one starting with: > > Hans, > > I thought that it had worked some time ago, but it seems that it's > > broken. OPENTYPEFONTS seems the right folders, but doesn't find files > > in them. > > .... > > > > that something is broken om mojca's machine but we're working on it > > (when we have a spare moment) > > Hans > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIbJpJRoqITGOuyPIRApmCAKCDR3+qJGPo2eY0BwzQA3DbcKgTmQCdFPqc eo8rilGU4fdBzbOo9k8I43c= =5vfx -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- --===============1372996951== 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 ___________________________________________________________________________________ --===============1372996951==--