From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40908 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Font features not always working Date: Tue, 6 May 2008 14:17:48 +0200 Message-ID: <115224fb0805060517x75da9852n93a8683ed5911ac1@mail.gmail.com> References: <115224fb0804290545r25e74f57qa4bdaec63128463b@mail.gmail.com> <481721C1.6070700@elvenkind.com> <115224fb0804292340x29f343c6w3c22037ddcc46ad6@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 1210076378 3936 80.91.229.12 (6 May 2008 12:19:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 12:19:38 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue May 06 14:20:00 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 1JtM9H-0007WV-50 for gctc-ntg-context-518@m.gmane.org; Tue, 06 May 2008 14:19:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2207E1FC43; Tue, 6 May 2008 14:19:15 +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 16284-03-11; Tue, 6 May 2008 14:18:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C226D1FC20; Tue, 6 May 2008 14:18:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 750A91FC20 for ; Tue, 6 May 2008 14:18:30 +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 15370-04-9 for ; Tue, 6 May 2008 14:17:54 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by ronja.ntg.nl (Postfix) with ESMTP id CAFB91FB7F for ; Tue, 6 May 2008 14:17:53 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so6523544ywm.74 for ; Tue, 06 May 2008 05:17:49 -0700 (PDT) Original-Received: by 10.150.156.20 with SMTP id d20mr580556ybe.57.1210076268942; Tue, 06 May 2008 05:17:48 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Tue, 6 May 2008 05:17:48 -0700 (PDT) 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:40908 Archived-At: On Wed, Apr 30, 2008 at 10:00 AM, Lutz Haseloff wrote: > Hi Wolfgang, > > it seems that some fonts need script=latn in \definefontfeature. > (i copied and pasted from font-ini.tex) > > So your file works here: > > -------------------------- > % engine=luatex > > \definefontfeature > [default] > [script=latn,liga=yes,kern=yes,tlig=yes,trep=yes] > > \definefontfeature > [smallcaps] > [script=latn,liga=yes,kern=yes,tlig=yes,trep=yes,smcp=yes] > > \definefontfeature > [oldstyle] > [script=latn,liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes] I looked into font-ini from my old installation and all fontfeatures where defined with the latin script, would be interesting to know why this has changed and if there is a reason for this. > \definefont[pan][file:texgyrepagella-regular*default] > \definefont[pas][file:texgyrepagella-regular*smallcaps] > \definefont[pao][file:texgyrepagella-regular*oldstyle] > > \definefont[can][file:CAMBRIA*default] > \definefont[cas][file:CAMBRIA*smallcaps] > \definefont[cao][file:CAMBRIA*oldstyle] > > \definefont[con][file:CORBEL*default] > \definefont[cos][file:CORBEL*smallcaps] > \definefont[coo][file:CORBEL*oldstyle] > > \starttext > > \pan ANB anc 123 VA Ta > > \pas ANB anc 123 VA Ta > > \pao ANB anc 123 VA Ta > > \can ANB anc 123 VA Ta > > \cas ANB anc 123 VA Ta > > \cao ANB anc 123 VA Ta > > \con ANB anc 123 VA Ta > > \cos ANB anc 123 VA Ta > > \coo ANB anc 123 VA Ta > \blank > > \starttabulate > \NC ConTeXt \EQ \contextversion \NC\NR > \NC LuaTeX Revision \EQ \number\luatexversion \NC\NR > \NC LuaTeX Revision \EQ \number\luatexrevision \NC\NR > \stoptabulate > > \stoptext The example works now as expected. Thank you very much Lutz, for the solution. Greetings 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 ___________________________________________________________________________________