From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37755 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: showfont with xetex (syntax changed?) Date: Thu, 6 Dec 2007 17:35:55 +0100 Message-ID: <6faad9f00712060835l4604d133n6d902e72d1e0ee26@mail.gmail.com> References: <91844FC2-0148-4347-A206-4B22915EBDE3@st.estfiles.de> <6faad9f00712060332s32be7922yf9b7e7788b4197f4@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 1196958981 22171 80.91.229.12 (6 Dec 2007 16:36:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 16:36:21 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 06 17:36:30 2007 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 1J0Ji9-0003hj-6g for gctc-ntg-context-518@m.gmane.org; Thu, 06 Dec 2007 17:36:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 358281FC6A; Thu, 6 Dec 2007 17:36:11 +0100 (CET) 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 24159-01-11; Thu, 6 Dec 2007 17:36:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 214A01FB5A; Thu, 6 Dec 2007 17:36:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3CF21FB5A for ; Thu, 6 Dec 2007 17:36:01 +0100 (CET) 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 24159-01-10 for ; Thu, 6 Dec 2007 17:35:58 +0100 (CET) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by ronja.ntg.nl (Postfix) with ESMTP id 91A1E1FB3C for ; Thu, 6 Dec 2007 17:35:58 +0100 (CET) Original-Received: by wr-out-0506.google.com with SMTP id c47so230209wra for ; Thu, 06 Dec 2007 08:35:57 -0800 (PST) Original-Received: by 10.142.154.20 with SMTP id b20mr1721737wfe.1196958956027; Thu, 06 Dec 2007 08:35:56 -0800 (PST) Original-Received: by 10.143.40.7 with HTTP; Thu, 6 Dec 2007 08:35:55 -0800 (PST) In-Reply-To: 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:37755 Archived-At: On Dec 6, 2007 5:09 PM, Steffen Wolfrum wrote: > > Am 06.12.2007 um 12:32 schrieb Mojca Miklavec: > > > The general approach would be something like: > > \definefontfeature[mine][smcp=yes] > > \definefontsynonym[a][name:Warnock Pro][features=mine] > > \showfont[a] > > (grep the sources for definefontfeature) > > > hmm ... the only hit is in /base/font-ini.mkii (and font-ini.tex) > > \def\mkdefinefontfeature#1% #2 > {\setvalue{\??fa#1}} % {#2} \definefontfeature [default] [liga=yes,kern=yes,tlig=yes,trep=yes] % texligatures=yes,texquotes=yes \definefontfeature [smallcaps] [liga=yes,kern=yes,tlig=yes,trep=yes,smcp=yes] % texligatures=yes,texquotes=yes \definefontfeature [oldstyle] [liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes] % texligatures=yes,texquotes=yes font-otf.lua:-- \definefontfeature[calt][language=nld,script=latn,mode=node,calt=yes,clig=yes,rlig=yes] font-otf.lua:-- \definefontfeature[dflt][language=nld,script=latn,mode=node,calt=no, clig=yes,rlig=yes] font-otf.lua:-- \definefontfeature[fixd][language=nld,script=latn,mode=node,calt=no, clig=yes,rlig=yes,ignoredrules={44,45,47}] s-pre-64.tex: \definefontfeature[default][method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes] (Might change!!!) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________