From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87963 Path: news.gmane.org!not-for-mail From: David Wooten Newsgroups: gmane.comp.tex.context Subject: Re: smallcaps with features in simplefont Date: Wed, 2 Jul 2014 11:29:50 -0700 Message-ID: References: <24412BCF-D027-4B09-B82D-34053320244C@trichotomic.net> <5EBE40B9-2E21-48C9-8053-07A716AB78D7@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: multipart/mixed; boundary="===============1525336016==" X-Trace: ger.gmane.org 1404326392 28363 80.91.229.3 (2 Jul 2014 18:39:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 18:39:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 20:39:48 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 1X2PRa-0006U1-T4 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 20:39:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 682671020A for ; Wed, 2 Jul 2014 20:39:46 +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 hI1z5-9RrY6v for ; Wed, 2 Jul 2014 20:39:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B7B5110222 for ; Wed, 2 Jul 2014 20:39:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 49B18101E7 for ; Wed, 2 Jul 2014 20:39: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 RRcS9iIjHslt for ; Wed, 2 Jul 2014 20:39:12 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 0DF2B101E6 for ; Wed, 2 Jul 2014 20:39:06 +0200 (CEST) Original-Received: from server.farwestmillwork.com (server.farwestmillwork.com [66.116.103.196]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s62Id4uk021668 for ; Wed, 2 Jul 2014 20:39:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by server.farwestmillwork.com (Postfix) with ESMTP id 4D90BDB0366 for ; Wed, 2 Jul 2014 11:29:54 -0700 (PDT) X-Virus-Scanned: amavisd-new at farwestmillwork.com Original-Received: from server.farwestmillwork.com ([127.0.0.1]) by localhost (server.farwestmillwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CMDjE8zKnnKL for ; Wed, 2 Jul 2014 11:29:53 -0700 (PDT) Original-Received: from [192.168.42.68] (unknown [50.0.192.214]) by server.farwestmillwork.com (Postfix) with ESMTPSA id 38217DB0350 for ; Wed, 2 Jul 2014 11:29:53 -0700 (PDT) In-Reply-To: <5EBE40B9-2E21-48C9-8053-07A716AB78D7@gmail.com> X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=66.116.103.196; country=US; region=Nevada; city=Vegas; latitude=36.1750; longitude=-115.1372; http://maps.google.com/maps?q=36.1750,-115.1372&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MluD43M - 74ffa7fd6173 - 20140702 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:87963 Archived-At: --===============1525336016== Content-Type: multipart/alternative; boundary="Apple-Mail=_0A0A899C-89C6-4A67-9A4D-E30C9FCC7275" --Apple-Mail=_0A0A899C-89C6-4A67-9A4D-E30C9FCC7275 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thank you Wolfgang, it=92s all coming together. On Jul 1, 2014, at 9:49 PM, Wolfgang Schuster = wrote: >=20 > Am 01.07.2014 um 23:11 schrieb David Wooten : >=20 >> 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.} >=20 > In your setup you disable ligatures etc., to keep them change the = first two lines to >=20 > = \definefontfeature[main][default][protrusion=3Dquality,expansion=3Dquality= ,onums=3Dyes] > \definefontfamily[mainface][rm][Adobe Jenson Pro][features=3Dmain] >=20 > or >=20 > = \definefontfeature[main][protrusion=3Dquality,expansion=3Dquality,onums=3D= yes] > \definefontfamily[mainface][rm][Adobe Jenson = Pro][features=3D{default,main}] >=20 >> Do I need to declare the caps in some other way? >=20 > Smallcaps use the regular where the =93smallcaps=94 features are = applied, to use also your =93main=94 features you have to use this = setup: >=20 > \definefontfamily[mainface][rm][Adobe Jenson = Pro][features=3D{default,main},sc=3Dfeatures:{default,main,smallcaps}] >=20 > Wolfgang > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_0A0A899C-89C6-4A67-9A4D-E30C9FCC7275 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Thank = you Wolfgang, it=92s all coming together.

On Jul 1, = 2014, at 9:49 PM, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:



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
___________________________________________= ________________________________________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_0A0A899C-89C6-4A67-9A4D-E30C9FCC7275-- --===============1525336016== 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 ___________________________________________________________________________________ --===============1525336016==--