From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50550 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Font features switching Date: Sat, 16 May 2009 10:51:08 +0300 Message-ID: <4A0E706C.30204@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242460348 14174 80.91.229.12 (16 May 2009 07:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2009 07:52:28 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat May 16 09:52:21 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 1M5Egv-0003Bg-49 for gctc-ntg-context-518@m.gmane.org; Sat, 16 May 2009 09:52:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D15B1FF89; Sat, 16 May 2009 09:52:20 +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 14205-03; Sat, 16 May 2009 09:51:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D2AB1FEA4; Sat, 16 May 2009 09:51:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05AD41FEA4 for ; Sat, 16 May 2009 09:51:32 +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 14244-04 for ; Sat, 16 May 2009 09:51:22 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id 335B81FE99 for ; Sat, 16 May 2009 09:51:22 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4G7pJVu020580 for ; Sat, 16 May 2009 09:51:20 +0200 Original-Received: by fg-out-1718.google.com with SMTP id e21so797675fga.8 for ; Sat, 16 May 2009 00:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=sz7al6zVNCyK4jXAIkevhJYga7HXb2YRgEzMvMLe5t8=; b=in1/96ynTMZkKPrPmobuflsL4kraDPkaIZyOoG9QeSU5/D7aLOCe27kjHd2hTv15KI uVVj789/7l9vdXNS45SkGEo+C81vmc3Uj4VclImh45iMmigHWPNfaRzHWiiPRqlWYS5h Dct3i3HXh/GUI2VHMRTo5q9vkLJ7zNIDSLcUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=GX1NnkBWrI+fQLW9a9se1TXonPw72F8G442b4xFGlLnTZMLg0LVsHqri0PD3QCvl+z fwOojIGA45sIZR9g4iMHeVM3sW5mmF7gVeoBUtSMKVzdPyXPZXH8DrK6Txz0retXlecn kNI7Zrc7L4sbptCmZ+jVPh+wuIDgkkqS+VGhc= Original-Received: by 10.86.27.6 with SMTP id a6mr4575582fga.18.1242460281512; Sat, 16 May 2009 00:51:21 -0700 (PDT) Original-Received: from ?93.72.242.29? (recoveriness-stacks.volia.net [93.72.242.29]) by mx.google.com with ESMTPS id 4sm747998fge.18.2009.05.16.00.51.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 16 May 2009 00:51:21 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.156; 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: 226641142 - 6b7386bff3de - 20090516 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:50550 Archived-At: 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? \definefontfeature[zero][default][zero=yes] \starttypescript [serif] [MinionPro] \definefontsynonym [Serif][file:MinionPro-Regular][features=zero] \stoptypescript \starttypescript [MinionPro+zero] \definetypeface [MinionPro][rm][serif][MinionPro][features=zero] \stoptypescript \starttypescript [MinionPro] \definetypeface [MinionPro][rm][serif][MinionPro][features=default] \stoptypescript %\usetypescript[MinionPro+zero] %\usetypescript[MinionPro] \setupbodyfont[MinionPro,16pt] \starttext This zero test. 000. \stoptext Best, Vyatcheslav ___________________________________________________________________________________ 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 ___________________________________________________________________________________