From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42494 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Using fontfeatures ... Date: Wed, 16 Jul 2008 14:48:23 +0200 Message-ID: <1BBEED62-9197-4331-A1BB-6CA8E1828AD3@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216212752 1739 80.91.229.12 (16 Jul 2008 12:52:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 12:52:32 +0000 (UTC) To: NTG-Context ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 16 14:53:20 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 1KJ6Uo-0007DE-3R for gctc-ntg-context-518@m.gmane.org; Wed, 16 Jul 2008 14:52:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5B9C71FC87; Wed, 16 Jul 2008 14:51:41 +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 06115-01-5; Wed, 16 Jul 2008 14:51:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5AD91FCE9; Wed, 16 Jul 2008 14:49:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E016A1FCD0 for ; Wed, 16 Jul 2008 14:49:08 +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 04469-02-4 for ; Wed, 16 Jul 2008 14:48:27 +0200 (CEST) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by ronja.ntg.nl (Postfix) with ESMTP id 4B9AC1FCE9 for ; Wed, 16 Jul 2008 14:48:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.7values.nl (Postfix) with ESMTP id ED6607E07 for ; Wed, 16 Jul 2008 14:48:24 +0200 (CEST) Original-Received: from mail.7values.nl ([127.0.0.1]) by localhost (pluto [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20552-02-48 for ; Wed, 16 Jul 2008 14:48:24 +0200 (CEST) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id C451A7E01 for ; Wed, 16 Jul 2008 14:48:24 +0200 (CEST) X-Mailer: Apple Mail (2.753.1) 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:42494 Archived-At: 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}} \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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________