From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42088 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 11:40:02 +0200 Message-ID: <115224fb0807030240m7581f8c1g79cfd8e5883a9779@mail.gmail.com> References: <441B3D72-7906-465D-881E-2A821D1CBFC5@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> <115224fb0807030148s3b7f3953lc7dbbe925b220da5@mail.gmail.com> <6faad9f00807030228k443f5c84qe313702609b1e867@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 1215078100 6854 80.91.229.12 (3 Jul 2008 09:41:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 09:41:40 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 11:42:26 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 1KELKS-00076w-Ch for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2008 11:42:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E5EC1FE58; Thu, 3 Jul 2008 11:41:23 +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 13481-07-6; Thu, 3 Jul 2008 11:40:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 31FEF1FE74; Thu, 3 Jul 2008 11:40:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B15791FE7C for ; Thu, 3 Jul 2008 11:40:37 +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 15352-01-2 for ; Thu, 3 Jul 2008 11:40:03 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.154]) by ronja.ntg.nl (Postfix) with ESMTP id 16F901FE58 for ; Thu, 3 Jul 2008 11:40:02 +0200 (CEST) Original-Received: by yx-out-1718.google.com with SMTP id 34so221129yxf.74 for ; Thu, 03 Jul 2008 02:40:02 -0700 (PDT) Original-Received: by 10.150.212.12 with SMTP id k12mr15177251ybg.228.1215078002236; Thu, 03 Jul 2008 02:40:02 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Thu, 3 Jul 2008 02:40:02 -0700 (PDT) In-Reply-To: <6faad9f00807030228k443f5c84qe313702609b1e867@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:42088 Archived-At: On Thu, Jul 3, 2008 at 11:28 AM, Mojca Miklavec wrote: > On Thu, Jul 3, 2008 at 10:48 AM, Wolfgang Schuster wrote: >> 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 > > For XeTeX on Windows, yes. But not on other platforms. > >>> 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. > > "could" could be read as "should" :) > But on the other hand, reading fonts.conf does make sense (if you know > where to look for it). It means that you get all the font paths > properly set by default already. Could make sense. >> elseif name == "macosx" then >> fix("OSFONTDIR", >> "$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//") >> else > > OSFONT[S]DIR (I always forget which one) does get set. But did you try > to use any fonts from there? Do they work (with a recent ConTeXt > version)? Last beta with delicoius fonts in $HOME/Library/Fonts has worked. 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 ___________________________________________________________________________________