From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77643 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Font recognition with command "context", but not with command "texexec" Date: Mon, 30 Jul 2012 09:50:44 +0200 Message-ID: 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 1343634659 10978 80.91.229.3 (30 Jul 2012 07:50:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 07:50:59 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 30 09:50:57 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 1Svkki-0007jU-IT for gctc-ntg-context-518@m.gmane.org; Mon, 30 Jul 2012 09:50:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 098771024D; Mon, 30 Jul 2012 09:50:55 +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 NKfHyKlHOj4z; Mon, 30 Jul 2012 09:50:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6CCF6101EA; Mon, 30 Jul 2012 09:50:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6FCE101EA for ; Mon, 30 Jul 2012 09:50:51 +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 FGhiSqEKbIof for ; Mon, 30 Jul 2012 09:50:46 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 6AEA3101DD for ; Mon, 30 Jul 2012 09:50:46 +0200 (CEST) Original-Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6U7oiGw012365 for ; Mon, 30 Jul 2012 09:50:45 +0200 Original-Received: by qcsd16 with SMTP id d16so3370861qcs.14 for ; Mon, 30 Jul 2012 00:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eR+P2YmhE08EI2iP9sjC/vQCm1zBWzqrru5aNY8O1pI=; b=dGId+MdmVtOxNhPMCKHm8kGlLwvl/+726s+RF/V4wFy4ZmSFrOPl/1deONu64E3JdR J6Xz/BSUlSCmbh1KrzylICLQ8zHtSLy+LIm25JEU21IVkl2g/lwlQ9zZ1lcQDODK3Hbk b5eqx21ECJeQGVxfpDiv/AkKTMaN9SBowZGXOTkkzI4wgq/cAaY4sPydbnAWpSvlGVRG uC0JSTKivIIxR1cfOF+I3foZ4vKLgBhXcg2qNKN87Diw7pqWXR4eWYZNghUzpkZaywJE roCPBJuhqiaCwR50mgeVwvLxKwrLvyMbz19Xum/megq7JSv8tL/GWoLuTDVFtSgzDNHi zaMA== Original-Received: by 10.229.137.20 with SMTP id u20mr5195860qct.84.1343634644153; Mon, 30 Jul 2012 00:50:44 -0700 (PDT) Original-Received: by 10.229.242.131 with HTTP; Mon, 30 Jul 2012 00:50:44 -0700 (PDT) In-Reply-To: <5015C1AB.6040101@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; 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: 08HEvOJD4 - 31714b241c10 - 20120730 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:77643 Archived-At: 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. 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. One has to set at least the variable FONTCONFIG_PATH which means that it won't work out of the box, in which case one can just as well set OSFONTDIR directly. I think that I asked Fedora packagers to set FONTCONFIG_PATH in their distribution though. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________