From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87946 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: smallcaps with features in simplefont Date: Wed, 2 Jul 2014 06:49:04 +0200 Message-ID: <5EBE40B9-2E21-48C9-8053-07A716AB78D7@gmail.com> References: <24412BCF-D027-4B09-B82D-34053320244C@trichotomic.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1948829522==" X-Trace: ger.gmane.org 1404276582 28373 80.91.229.3 (2 Jul 2014 04:49:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 04:49:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 06:49:37 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2CUB-00051T-EF for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 06:49:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC07910288 for ; Wed, 2 Jul 2014 06:49:34 +0200 (CEST) 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 1bx6zxzOsYve for ; Wed, 2 Jul 2014 06:49:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0267810222 for ; Wed, 2 Jul 2014 06:49:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26AA1101E7 for ; Wed, 2 Jul 2014 06:49:22 +0200 (CEST) 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 S2jlhCdtHqGi for ; Wed, 2 Jul 2014 06:49:18 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id EC22C101E6 for ; Wed, 2 Jul 2014 06:49:12 +0200 (CEST) Original-Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s625F8QE006183 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 2 Jul 2014 07:15:08 +0200 Original-Received: by mail-we0-f169.google.com with SMTP id t60so10747585wes.0 for ; Tue, 01 Jul 2014 21:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=+b5DBzUKzXbiaCeCkkOfUTtPtmCuCNwZuOri/j8StW0=; b=JnQblyhULoFHIdbfTUMfPUiXfIcmy0SNTsXsP7x5KSu8wdDu5XGtqYCAF7W3UXjkft 1Awnak11HBPKpR5pvTlCIZFUVZ1l9PxqzsGufKBkt35ytUor3z47m+dLKO+z3vp4EdDD 7wZKfTKUxp9YLwfq7fotfkhJbYzsDa5mhhYtd3NJYcb7SygEScWi1IWRpmpEd/DAjyri bl3Sj/sXYseCfAcqBB7X89k6jUQlM0QkEDxRpnHDER6ctWOOrb6joqs16yMvLM2qC1M+ FEf9eSQM52z/JopxFKd8sU5EciIAC959hh8lH2SQpQk4iH62g7AXAkUtjsWuChdwP2Lu 13Zw== X-Received: by 10.194.192.201 with SMTP id hi9mr53331358wjc.28.1404276548023; Tue, 01 Jul 2014 21:49:08 -0700 (PDT) Original-Received: from keima.localdomain (x2f378a8.dyn.telefonica.de. [2.243.120.168]) by mx.google.com with ESMTPSA id fb8sm50789689wib.15.2014.07.01.21.49.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 21:49:06 -0700 (PDT) In-Reply-To: <24412BCF-D027-4B09-B82D-34053320244C@trichotomic.net> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::229; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Mlhf8U6 - 9b946630b025 - 20140702 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87946 Archived-At: --===============1948829522== Content-Type: multipart/alternative; boundary="Apple-Mail=_B3A2DB99-7E8B-4CDC-BE79-D0697C03FA67" --Apple-Mail=_B3A2DB99-7E8B-4CDC-BE79-D0697C03FA67 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 01.07.2014 um 23:11 schrieb David Wooten : > Greetings, >=20 > I=92ve been trying to work through a new font scheme using = simplefonts, e.g. in simple form something like this: >=20 > = \definefontfeature[main][protrusion=3Dquality,expansion=3Dquality,onums=3D= yes] > \definefontfamily[mainface][rm][Adobe Jenson Pro][features=3Dmain] > \setupalign[hanging,hz] > \setupbodyfont[mainface,13pt] >=20 > In this setup, I do get protrusion & expansion in the text, =97except = when I switch to {\sc small caps.} In your setup you disable ligatures etc., to keep them change the first = two lines to = \definefontfeature[main][default][protrusion=3Dquality,expansion=3Dquality= ,onums=3Dyes] \definefontfamily[mainface][rm][Adobe Jenson Pro][features=3Dmain] or \definefontfeature[main][protrusion=3Dquality,expansion=3Dquality,onums=3D= yes] \definefontfamily[mainface][rm][Adobe Jenson = Pro][features=3D{default,main}] > Do I need to declare the caps in some other way? Smallcaps use the regular where the =93smallcaps=94 features are = applied, to use also your =93main=94 features you have to use this = setup: \definefontfamily[mainface][rm][Adobe Jenson = Pro][features=3D{default,main},sc=3Dfeatures:{default,main,smallcaps}] Wolfgang= --Apple-Mail=_B3A2DB99-7E8B-4CDC-BE79-D0697C03FA67 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Am 01.07.2014 um 23:11 schrieb David = Wooten <dw@trichotomic.net>:

Greetings,

I=92ve been trying to = work through a new font scheme using simplefonts, e.g. in simple form = something like this:

\definefontfeature[main][protrusion=3Dquality,expansion=3Dquality,= onums=3Dyes]
\definefontfamily[mainface][rm][Adobe Jenson = Pro][features=3Dmain]
\setupalign[hanging,hz]
\setupbodyfont[mainface,13pt]

In this setup, = I do get protrusion & expansion in the text, =97except when I switch = to {\sc small = caps.}

In your = setup you disable ligatures etc., to keep them change the first two = lines = to

\definefontfeature[main][default][protrus= ion=3Dquality,expansion=3Dquality,onums=3Dyes]
\definefontfamily= [mainface][rm][Adobe Jenson = Pro][features=3Dmain]

or

\definefontfeature[main][protrusion=3Dquality,expansion=3Dquality,on= ums=3Dyes]
\definefontfamily[mainface][rm][Adobe Jenson = Pro][features=3D{default,main}]

Do I need to declare = the caps in some other = way?

Smallcaps use the regular = where the =93smallcaps=94 features are applied, to use also your =93main=94= features you have to use this = setup:

\definefontfamily[mainface][rm][Adobe = Jenson = Pro][features=3D{default,main},sc=3Dfeatures:{default,main,smallcaps}]
Wolfgang
= --Apple-Mail=_B3A2DB99-7E8B-4CDC-BE79-D0697C03FA67-- --===============1948829522== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1948829522==--