ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* smallcaps with features in simplefont
@ 2014-07-01 21:11 David Wooten
  2014-07-02  4:49 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: David Wooten @ 2014-07-01 21:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 497 bytes --]

Greetings,

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

\definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
\definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
\setupalign[hanging,hz]
\setupbodyfont[mainface,13pt]

In this setup, I do get protrusion & expansion in the text, —except when I switch to {\sc smallcaps.}

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

Thanks,
David

[-- Attachment #1.2: Type: text/html, Size: 1096 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: smallcaps with features in simplefont
  2014-07-01 21:11 smallcaps with features in simplefont David Wooten
@ 2014-07-02  4:49 ` Wolfgang Schuster
  2014-07-02 18:29   ` David Wooten
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-07-02  4:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1231 bytes --]


Am 01.07.2014 um 23:11 schrieb David Wooten <dw@trichotomic.net>:

> Greetings,
> 
> I’ve been trying to work through a new font scheme using simplefonts, e.g. in simple form something like this:
> 
> \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
> \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
> \setupalign[hanging,hz]
> \setupbodyfont[mainface,13pt]
> 
> In this setup, I do get protrusion & expansion in the text, —except 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=quality,expansion=quality,onums=yes]
\definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]

or

\definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
\definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main}]

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

Smallcaps use the regular where the “smallcaps” features are applied, to use also your “main” features you have to use this setup:

\definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main},sc=features:{default,main,smallcaps}]

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2414 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: smallcaps with features in simplefont
  2014-07-02  4:49 ` Wolfgang Schuster
@ 2014-07-02 18:29   ` David Wooten
  0 siblings, 0 replies; 3+ messages in thread
From: David Wooten @ 2014-07-02 18:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1931 bytes --]

Thank you Wolfgang, it’s all coming together.

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

> 
> Am 01.07.2014 um 23:11 schrieb David Wooten <dw@trichotomic.net>:
> 
>> Greetings,
>> 
>> I’ve been trying to work through a new font scheme using simplefonts, e.g. in simple form something like this:
>> 
>> \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
>> \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
>> \setupalign[hanging,hz]
>> \setupbodyfont[mainface,13pt]
>> 
>> In this setup, I do get protrusion & expansion in the text, —except 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=quality,expansion=quality,onums=yes]
> \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
> 
> or
> 
> \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
> \definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main}]
> 
>> Do I need to declare the caps in some other way?
> 
> Smallcaps use the regular where the “smallcaps” features are applied, to use also your “main” features you have to use this setup:
> 
> \definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main},sc=features:{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.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3693 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-02 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-01 21:11 smallcaps with features in simplefont David Wooten
2014-07-02  4:49 ` Wolfgang Schuster
2014-07-02 18:29   ` David Wooten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).