From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77644 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Font recognition with command "context", but not with command "texexec" Date: Mon, 30 Jul 2012 11:06:52 +0200 Message-ID: <20120730090651.GC7157@khaled-laptop> References: <50143956.7040208@gmail.com> <898BA0E1-27D9-4180-8436-556C2D2C3126@gmail.com> <50153D27.2060502@gmail.com> <5015C1AB.6040101@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343639231 12158 80.91.229.3 (30 Jul 2012 09:07:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 09:07:11 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 30 11:07:09 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SvlwP-0003fA-De for gctc-ntg-context-518@m.gmane.org; Mon, 30 Jul 2012 11:07:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3554610224; Mon, 30 Jul 2012 11:07:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J0z5gg1lUkiM; Mon, 30 Jul 2012 11:07:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CE964101EA; Mon, 30 Jul 2012 11:07:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59348101EA for ; Mon, 30 Jul 2012 11:07:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BNr3eK-ZA2+n for ; Mon, 30 Jul 2012 11:06:59 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 2A71A101DD for ; Mon, 30 Jul 2012 11:06:58 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6U96vfu032644 for ; Mon, 30 Jul 2012 11:06:58 +0200 Original-Received: by bkcjc3 with SMTP id jc3so3116888bkc.14 for ; Mon, 30 Jul 2012 02:06:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=2z9uJroEAfrSifRjSGqTf0G+oBpGPRIfAj6BCm9Rjdg=; b=b7F5rz3/Vs0RpQaB0k9cEjaW9nGDNWfcDi1yHB0u7YIxRaza5N6SmcYf8BNyzEtw8S jt+m7BzUWiCvWBIvaYihXjG+x0h5FpgiN7Tr7NGfUzYtXjG80JwpDjFjmo3X8XKonPu4 nDGM5Ww+WK1eGFJGJzYsqpsF+eT5GaE5clftHhiKaAuMFfXLDa4qXjrH/vn7BuAV+K2I z0NJ3Q3pk1DfXPsYu7hi9IaWS+fHiz8YhieoWnrxoZmtXxEGdM1BVeYwncm/cRdNM8kq KVdSpOSxNaNjga4iQ4FylJ8EEpPte5qGU4i6AFLeB9NYynK66y+r13Iv5zOIt/IYS9hA 729w== Original-Received: by 10.204.145.82 with SMTP id c18mr3628154bkv.133.1343639217682; Mon, 30 Jul 2012 02:06:57 -0700 (PDT) Original-Received: from localhost ([217.55.101.2]) by mx.google.com with ESMTPS id fu8sm3280736bkc.5.2012.07.30.02.06.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Jul 2012 02:06:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 0VHEx6WHO - 1fc8989c8ef9 - 20120730 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77644 Archived-At: On Mon, Jul 30, 2012 at 09:50:44AM +0200, Mojca Miklavec wrote: > On Mon, Jul 30, 2012 at 1:05 AM, Hans Hagen wrote: > > On 29-7-2012 22:36, Mojca Miklavec wrote: > >> > >> For MKII the answer is no. MKIV can - to a > >> certain extent - read and interpret fontconfig's XML configuration > >> file. The real question is whether ConTeXt finds the right file. On > >> windows there is fonts.conf used by XeTeX and it might be that MKIV > >> reads that file, but I'm not sure. > > > > > > Last time I checked (more than a year ago) it did read that file. > > What I have in mind is that it's far from being trivial to find the > right fonts.conf, on linux in particular. On my mac I have: > > /Applications/Gimp.app/Contents/Resources/etc/fonts/fonts.conf > /Applications/MPlayer OSX Extended.app/Contents/Resources/fonts/fonts.conf > /opt/local/etc/fonts/fonts.conf > /usr/X11/lib/X11/fontconfig/conf.avail/05-osx-fonts.conf > /usr/X11/lib/X11/fontconfig/conf.d/05-osx-fonts.conf > /usr/X11/lib/X11/fontconfig/fonts.conf > > So feel free to guess which one to use ;) > > I believe that one should at least consider > /usr/X11/lib/X11/fontconfig/fonts.conf & > /usr/X11/lib/X11/fontconfig/conf.d/05-osx-fonts.conf in my case, but > there is no "include the other file", so ConTeXt would actually have > to start reading both. fonts.conf should have something like: conf.d no? Here it does, otherwise fontconfig itself has no way of reading other files. But the whole thing is tricky, because the default path to the root fonts.conf file is set into libfontconfig at build time, ConTeXt has no way of knowing that, short of linking to libfontconfig. > The first two files are bundled with applications (Gimp, MPlayer) and > aso have their own caches & their own settings, so when users start > messing and configuring the system-wide settings, those two > applications won't obey those anyway. Which is very pointless, there should be only one fontconfig installed system wide, but that mac anyway :) Regards, Khaled ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________