From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42496 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Using fontfeatures ... Date: Wed, 16 Jul 2008 14:56:43 +0200 Message-ID: <115224fb0807160556t2a5f3513p11722e6eceda14c6@mail.gmail.com> References: <1BBEED62-9197-4331-A1BB-6CA8E1828AD3@boede.nl> 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 1216213235 3965 80.91.229.12 (16 Jul 2008 13:00:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 13:00:35 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 16 15:01:22 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 1KJ6cI-0003GC-PD for gctc-ntg-context-518@m.gmane.org; Wed, 16 Jul 2008 15:00:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 494121FDC8; Wed, 16 Jul 2008 14:59:28 +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 05474-03-5; Wed, 16 Jul 2008 14:58:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32A3F1FD55; Wed, 16 Jul 2008 14:58:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 192941FD47 for ; Wed, 16 Jul 2008 14:57:59 +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 07399-01-3 for ; Wed, 16 Jul 2008 14:57:19 +0200 (CEST) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by ronja.ntg.nl (Postfix) with ESMTP id 2F3291FD7E for ; Wed, 16 Jul 2008 14:56:44 +0200 (CEST) Original-Received: by py-out-1112.google.com with SMTP id u77so3766877pyb.5 for ; Wed, 16 Jul 2008 05:56:44 -0700 (PDT) Original-Received: by 10.141.162.1 with SMTP id p1mr3430336rvo.161.1216213003769; Wed, 16 Jul 2008 05:56:43 -0700 (PDT) Original-Received: by 10.140.125.15 with HTTP; Wed, 16 Jul 2008 05:56:43 -0700 (PDT) In-Reply-To: <1BBEED62-9197-4331-A1BB-6CA8E1828AD3@boede.nl> 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:42496 Archived-At: On Wed, Jul 16, 2008 at 2:48 PM, Willi Egger wrote: > Hi, > > I am trying to use fontfeatures contained in my new otf-font Seravek. > > I am getting Seravek in the file but no way to activate the oldstyle > figures and the small caps. :-( > > Can someone give m a clue? > > Willi > > > I got until now the following typescript: > > > % \definefontfeature > % [OldstyleFigures] > % > [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=yes] > > \starttypescript [sans] [seravek] > \definefontsynonym [SeravekBasic-Roman] [file:SeravekBasic- > Regular] [features=default] > \definefontsynonym [SeravekBasic-Bold] [file:SeravekBasic- > Bold] [features=default] > \definefontsynonym [SeravekBasic-Italic] [file:SeravekBasic- > RegularItalic][features=default] > \definefontsynonym [SeravekBasic-Bold-Italic][file:SeravekBasic- > BoldItalic] [features=default] > \stoptypescript > > \starttypescript [sans] [seravek] [name] > \definefontsynonym [Sans] [SeravekBasic-Roman] > [features=default] > \definefontsynonym [SansItalic] [SeravekBasic-Italic] > [features=default] > \definefontsynonym [SansBold] [SeravekBasic-Bold] > [features=default] > \definefontsynonym [SansBoldItalic] [SeravekBasic-Bold-Italic] > [features=default] > \definefontsynonym [SansRegularCaps] [Sans] > [features=smallcaps] > % \definefontsynonym [SansBoldCaps] > [SansBold] [features=smallcaps] > % \definefontsynonym [SansItalicCaps] > [SansItalic] [features=smallcaps] > % \definefontsynonym [SansBoldItalicCaps] > [SansBoldItalic] [features=smallcaps] > \stoptypescript > > \starttypescript [Seravek] > \definetypeface [Seravek] [ss] [sans][seravek][default] > \definetypeface [Seravek] [mm] [math] [modern][default] > \stoptypescript > > > I tried this with the following test-code: > > \setupoutput[pdftex] > \enableregime[utf] > > % \definefontfeature > % [OldstyleFigures] > % > [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=yes] > \definefontfeature[default] > [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes] > > \usetypescriptfile[seravek] > \usetypescript[Seravek] > \setupbodyfont[Seravek,12pt] > > > % \def\sc{\setfontfeature{smcp}} > % \def\os{\setfontfeature{onum}} \def\sc{\setfontfeature{smallcaps}} \def\os{\setfontfeature{oldstyle}} or \def\sc{\setfontfeature{smallcaps}} \def\os{\setfontfeature{OldstyleFigures}} > \starttext > Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9 > \blank > {\sc Hello World!} > \blank > {\bf Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} > \blank > {\it Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} > \blank > \bi Hello World {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9! > \stoptext 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 ___________________________________________________________________________________