From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42083 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: fonts (in luatex) (again) Date: Thu, 3 Jul 2008 10:48:38 +0200 Message-ID: <115224fb0807030148s3b7f3953lc7dbbe925b220da5@mail.gmail.com> 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215076606 1010 80.91.229.12 (3 Jul 2008 09:16:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 09:16:46 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 11:17:32 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 1KEKwK-0005bC-6V for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2008 11:17:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABDC21FE19; Thu, 3 Jul 2008 11:16:25 +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-2; Thu, 3 Jul 2008 11:15:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8303D1FDF3; Thu, 3 Jul 2008 11:15:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 945D71FDF3 for ; Thu, 3 Jul 2008 11:15:36 +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 06398-04-11 for ; Thu, 3 Jul 2008 11:14:58 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by ronja.ntg.nl (Postfix) with ESMTP id 44E1D1FDDB for ; Thu, 3 Jul 2008 10:48:44 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so447682ywm.74 for ; Thu, 03 Jul 2008 01:48:38 -0700 (PDT) Original-Received: by 10.150.212.14 with SMTP id k14mr4572380ybg.86.1215074918438; Thu, 03 Jul 2008 01:48:38 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Thu, 3 Jul 2008 01:48:38 -0700 (PDT) In-Reply-To: <6faad9f00807030057p4b4043deib1f730884c15ffcc@mail.gmail.com> Content-Disposition: inline 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:42083 Archived-At: On Thu, Jul 3, 2008 at 9:57 AM, 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? > > In font-syn.lua there is > local pathlist = fonts.names.getpaths() > > This used to contain some hard-coded paths for Mac users, but then > Hans switched to reading fonts.conf with > > -- name is "fonts.conf" > local name = fonts.names.xml_configuration_file or "" > if name ~= "" then > -- this works on Hans' computer, but not here; name becomes empty > local name = input.find_file(name,"other") > -- so this loop is never entered and system fonts are never read > if name ~= "" then > collect(xml.collect_texts(xml.load(name),"dir",true)) > end > end > > 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. > > 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. $TEXMF/fonts/conf/fonts.conf > The /private/etc/fonts/fonts.conf one says: > > > ~/.fonts.conf > > > local.conf > > So I guess that's where the other one gets included. But you need fonts.conf only for XeTeX, LuaTeX (better MkIV) could find the fonts with the predefined paths in mtxrun. elseif name == "macosx" then fix("OSFONTDIR", "$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//") else Regards Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________