From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57060 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts Date: Sat, 13 Mar 2010 17:36:02 +0100 Message-ID: <4B9BBEF2.507@googlemail.com> References: <54d7f5601003130809m7a86c77djd5bc5784db45d689@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="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1268498196 20354 80.91.229.12 (13 Mar 2010 16:36:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Mar 2010 16:36:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 13 17:36:30 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NqUKE-0003uj-LE for gctc-ntg-context-518@m.gmane.org; Sat, 13 Mar 2010 17:36:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E95FDC9DB9; Sat, 13 Mar 2010 17:36:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PhqngiNGcObQ; Sat, 13 Mar 2010 17:36:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7DCCAC9DB1; Sat, 13 Mar 2010 17:36:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98863C9DB1 for ; Sat, 13 Mar 2010 17:36:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IyPxafeeowio for ; Sat, 13 Mar 2010 17:36:05 +0100 (CET) Original-Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by balder.ntg.nl (Postfix) with ESMTP id 20521C9DAD for ; Sat, 13 Mar 2010 17:36:04 +0100 (CET) Original-Received: by fxm22 with SMTP id 22so2179797fxm.34 for ; Sat, 13 Mar 2010 08:36:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.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=FnmXCKtewTMeyKVRcx4tGoZvOG1bjWgWK/5WAPbHxsI=; b=kHcPQsHPVEDYR0aogFPAgMDG2NxHSpbodaFsbSPpxSMePSgos6DRR8zRaqBiEYjc+j /hmMdIZMS4SZyNbOIRfVpJC16Dh8v9yd5G4dkTxDBtDRxOpvP0ZZDQTLnmMMBCx7QlIr A5k0iLVw/QMz6GUddCI1RhV5tESMFsUoVZYmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=VHZOoAlbGMXF2w1SkiC6baNySA2kC9tCQFeTLQibOWnxFqo7podJc1+UR0BpWIBa3Y JFzXAIgB27OSvh64JTAd2F2Jt0ljyyhvsNJ2kiRNcGIBEOhST+uO0zadys8wnWx3TB6U 5CN7be7z4npqkfh8avqcNhFc/rszx8janQ4Fs= Original-Received: by 10.223.2.134 with SMTP id 6mr1652816faj.71.1268498164158; Sat, 13 Mar 2010 08:36:04 -0800 (PST) Original-Received: from [192.168.2.23] (p5B296353.dip.t-dialin.net [91.41.99.83]) by mx.google.com with ESMTPS id c28sm5087089fka.44.2010.03.13.08.36.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Mar 2010 08:36:03 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 In-Reply-To: <54d7f5601003130809m7a86c77djd5bc5784db45d689@mail.gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:57060 Archived-At: Am 13.03.10 17:09, schrieb Michael Saunders: >> 2. What keys and values are available for the third, and what they mean. >> = > Thank you, but by "the first two arguments", I mean 1 and 2 of: > \definefontfeature [1][2][3]. For example, in > \definefontfeature[smallcaps][smallcaps][script=3Dlatn] > I don't know what "[smallcaps][smallcaps]" is doing. > = Let's start with the normal version \definefontfeature[default][liga=3Dyes,kern=3Dyes,tlig=3Dyes,trep=3Dyes] creates a list with the name 'default' (predefined by context and used = by default for all fonts if not specified otherwise) with the opentype features = liga (ligature), kern (kerning) and the pseudo tex features tlig (-- -> =96, --- -> =97) and = trep (' -> =92). This feature is now applied to font in a typescript (ConTeXt system map = font files to commands, e.g. when you write \bf in your document your get Times New = Roman Bold). In the extended version with three arguments you copy the list from the = second argument to the new list which name is given in the first argument and = you can add new opentype features to the list, e.g. \definefontfeature[mine][default][onum=3Dyes] creates the new list mine which inherits all features from default and = adds onum to the list, when the name in the first and second arguments are equal = you extend a already created list with additional features. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________