From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60975 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: xits font in ~/.fonts Date: Tue, 17 Aug 2010 15:00:18 +0200 Message-ID: <20100817130018.GA19503@khaled-laptop> References: 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: dough.gmane.org 1282050037 7242 80.91.229.12 (17 Aug 2010 13:00:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2010 13:00:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 17 15:00:34 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OlLmM-0001GI-GE for gctc-ntg-context-518@m.gmane.org; Tue, 17 Aug 2010 15:00:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D280ECA560; Tue, 17 Aug 2010 15:00:32 +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 LmlthduSGW2y; Tue, 17 Aug 2010 15:00:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9B1FCA55C; Tue, 17 Aug 2010 15:00:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E1DBCA55C for ; Tue, 17 Aug 2010 15:00:29 +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 qCzfWTzkbHYM for ; Tue, 17 Aug 2010 15:00:26 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id E06ABCA246 for ; Tue, 17 Aug 2010 15:00:26 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7HD0QQU000358 for ; Tue, 17 Aug 2010 15:00:26 +0200 Original-Received: by wwc33 with SMTP id 33so4714111wwc.2 for ; Tue, 17 Aug 2010 06:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=VuP03fYD6V+KaldAvDZNpYsUh75+Mf3/I5mYc0UaXDY=; b=PK0JHCNir/31vlfQrxjTXkeZ1mI/0RdQ+nk0nNWtJ2PJD8ZUxL87fxuQHjBDapBbDd 83eGcgRwUr7Y5SB/kYcZUmX/dob7ILiixoFao9+D/9Ylo2rdiQZKSZbk0Qd9cChZA5Sz rolYg32+QD0LorIFWc2Jfz0tkz6FEVeKvfBB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=YsXIEcVwg7KTJ9GwwURYlk674YbXDjTvDVQfeqcbW+Lo+Pa3APjctF7EGUefImgC5w TyMAxG/VHwnuk8w84R1QHn4zKjzkkas+hRweu/ZZcVLxkSqhfVaL/jesGV3Td+rKrvT+ i/85SgmviS7x6PmY8j0ncYqYo6SG/chLDx2VE= Original-Received: by 10.227.43.9 with SMTP id u9mr5746839wbe.41.1282050023020; Tue, 17 Aug 2010 06:00:23 -0700 (PDT) Original-Received: from localhost ([41.238.235.162]) by mx.google.com with ESMTPS id v11sm4043660weq.40.2010.08.17.06.00.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Aug 2010 06:00:21 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 03CTp0qXm - bbebc8052872 - 20100817 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:60975 Archived-At: On Sun, Aug 15, 2010 at 12:44:40PM -0400, Aditya Mahajan wrote: > Hi, > > I cannot use xits fonts if they are placed in $HOME/.fonts. > > For example, if I use > > \setupbodyfont[xits] > > I get a series of messages > > define fonts > forced type otf of xits-regular not found > define fonts > font with name xits-regular is not found > define fonts > unknown font xits-regular, loading aborted > define fonts > unable to define xits-regular.otf as \*xits11ptrmtfc* The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with luaotfload and kpse setting OSFONTDIR is all what I need, since kpathsea appends it to its font searching paths). > > > I also tried to use the fonts with simplefonts. > > \usemodule[simplefonts] > \setmainfont[XITS] > \setmathfont[XITS Math] > > falls back to LM math while AFAIK, simple fonts don't support math fonts beyond the pre-defined typescripts. [...] > Other fonts in $HOME/.fonts, in particular cambria, work with both > methods. > > \setupbodyfont[cambria] Because the typescript references font names. > and > > \usemodule[simplefonts] > \setmainfont[Cambria] > \setmathfont[Cambria] > > both work. Because there already a working typescript? Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 ___________________________________________________________________________________