From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50551 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Font features switching Date: Sat, 16 May 2009 10:40:45 +0200 Message-ID: References: <4A0E706C.30204@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242463347 20561 80.91.229.12 (16 May 2009 08:42:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2009 08:42:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 16 10:42:20 2009 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 1M5FTH-0000S2-Pi for gctc-ntg-context-518@m.gmane.org; Sat, 16 May 2009 10:42:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D881C1FF23; Sat, 16 May 2009 10:42:18 +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 25213-02; Sat, 16 May 2009 10:41:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A09DD1FEE4; Sat, 16 May 2009 10:41:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11EA71FEE4 for ; Sat, 16 May 2009 10:41:27 +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 27359-01-3 for ; Sat, 16 May 2009 10:41:17 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 4E6C01FEE3 for ; Sat, 16 May 2009 10:41:14 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4G8f8m5001073 for ; Sat, 16 May 2009 10:41:08 +0200 Original-Received: by fg-out-1718.google.com with SMTP id e21so802540fga.8 for ; Sat, 16 May 2009 01:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=mpE0hpTkvNF07Rls305SxogecPhva7wVS3dOzfQdVmI=; b=dUJpwzYktUAMjjH8zniCOPBOqDyUScRcXjBFpHNVvVxNj/SaGQ/1n4D0S0s157ZKGI HJdI7uMBt0JH1QmKhqpL8qCuPRSxzZOaqCdTWUkKAZID9YmxU9b7czr76hRz9gMEZ4gq ncIHoan3tkfTSn6beKSLzrHdhLHjW0LjaJixc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=feTJdWaFvyOFYe8yKh99Ns1KBuHo0G2qd2SyAMcts6DTCK2BgbuMw52z3k/uxdVJdR a798BKbYyZ8iE90yZZo06yiXgrHZSKL5rtr3qSbsrd/0vNM79S/nHJ+5ezTjkGbI3Gbp 3pcNzHgIXxqTs/LhD/btN9HF+1KPdTIXjkUEs= Original-Received: by 10.86.33.10 with SMTP id g10mr4632067fgg.21.1242463268242; Sat, 16 May 2009 01:41:08 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B297254.dip.t-dialin.net [91.41.114.84]) by mx.google.com with ESMTPS id d4sm3819930fga.24.2009.05.16.01.41.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 16 May 2009 01:41:07 -0700 (PDT) In-Reply-To: <4A0E706C.30204@gmail.com> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.154; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 226652803 - bf6ee3c7a76a - 20090516 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50551 Archived-At: Am 16.05.2009 um 09:51 schrieb Vyatcheslav Yatskovsky: > Hello, > > I'm still curious about using font features. For example, I want to > have one typescript with slashed zero, and another with normal one. > But using either typescript (see commented lines) results in slashed > zeroes. What s wrong? The setting in \definefontsynonym is used. > \definefontfeature[zero][default][zero=yes] \starttypescript [serif] [MinionPro+zero] \definefontsynonym [Serif] [MinionPro-Regular] [features=zero] \stoptypescript \starttypescript [serif] [MinionPro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \stoptypescript \starttypescript [serif] [MinionPro,MinionPro+zero] \definefontsynonym [MinionPro-Regular] [file:MinionPro-Regular] [features=default] \stoptypescript \starttypescript [MinionPro,MinionPro+zero] \definetypeface [MinionPro] [rm] [serif] [MinionPro] [default] \stoptypescript > %\usetypescript[MinionPro+zero] > \usetypescript[MinionPro] > > \setupbodyfont[MinionPro,16pt] > > \starttext > This zero test. 000. > \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 ___________________________________________________________________________________