From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40799 Path: news.gmane.org!not-for-mail From: "Lutz Haseloff" Newsgroups: gmane.comp.tex.context Subject: Re: Font features not always working Date: Wed, 30 Apr 2008 10:00:17 +0200 Message-ID: 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 1209542546 30124 80.91.229.12 (30 Apr 2008 08:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2008 08:02:26 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 30 10:02:59 2008 connect(): Connection refused 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 1Jr7Gl-00053D-OY for gctc-ntg-context-518@m.gmane.org; Wed, 30 Apr 2008 10:02:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 49B671FBB8; Wed, 30 Apr 2008 10:01:44 +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 02374-01-5; Wed, 30 Apr 2008 10:00:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F33F71FB7E; Wed, 30 Apr 2008 10:00:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29FB71FB7E for ; Wed, 30 Apr 2008 10:00:54 +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 31931-03-5 for ; Wed, 30 Apr 2008 10:00:20 +0200 (CEST) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by ronja.ntg.nl (Postfix) with ESMTP id 68E061FB38 for ; Wed, 30 Apr 2008 10:00:19 +0200 (CEST) Original-Received: by fk-out-0910.google.com with SMTP id z23so162168fkz.2 for ; Wed, 30 Apr 2008 01:00:18 -0700 (PDT) Original-Received: by 10.78.145.16 with SMTP id s16mr215117hud.102.1209542417413; Wed, 30 Apr 2008 01:00:17 -0700 (PDT) Original-Received: by 10.78.155.6 with HTTP; Wed, 30 Apr 2008 01:00:17 -0700 (PDT) In-Reply-To: <115224fb0804292340x29f343c6w3c22037ddcc46ad6@mail.gmail.com> 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:40799 Archived-At: 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] \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 -------------------------- Greetings Lutz 2008/4/30 Wolfgang Schuster : > On Tue, Apr 29, 2008 at 3:25 PM, Taco Hoekwater wrote: > > > > > > Wolfgang Schuster wrote: > > > Hi, > > > > > > the features from OpenType fonts are not accesable for all fonts, I tried to use > > > my old test case for Microsofts Cambria fonts and none of the features did work, > > > also kerning is disabled. > > > > > > I put the files with the result from last year and the latest stable online. > > > http://schuster.wolfgang.googlepages.com/files > > > > IIRC, \Var depends on a very particular way of writing typescripts, > > and is currently considered deprecated by Hans, and that there is a > > new way to do things like this using \setfontfeature or something > > similar. Hans will know for sure (but he at bachotex right now) > > I wrote a simpler example and compiled it with my old and my current ConTeXt. > > http://schuster.wolfgang.googlepages.com/files -> Fontfeature > > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________