Re: [NTG-context] special features in simplefonts.

2015-01-25 Thread Pablo Rodriguez
On 01/24/2015 10:46 PM, John Culleton wrote:
 In regular Context font usage I have this
 statement that works:
 
 \def\Fontsize{13}
 \font \rm =
 file:MinionPro-Regular.otf:+liga;expansion=default;protrusion=quality
 at \Fontsize bp

Hi John,

well, I don’t know how to use the definition above.

 How would I use this font  in simplefonts?
 it is the trailing parameters that I don't know
 how to use in simplefonts, like:
  
 :+liga;expansion=default;protrusion=quality

As the body font:

\setuppapersize[A6]
\definefontfamily[minion][serif][Minion Pro][features={default,quality}]
\setupalign[hanging, hz]
\setupbodyfont[minion, 13pt]
\starttext
\input knuth
\stoptext

As a text font (copied from
http://www.ntg.nl/pipermail/ntg-context/2013/075529.html):

\setuppapersize[A6]
\definefontfamily[minion][rm][Minion Pro][features={default,quality}]
\definefont[minionquality][\classfont{minion}{Serif} at 13pt]
\setupalign[hanging, hz]
\starttext
\input zapf

\minionquality\setupinterlinespace
\input zapf
\stoptext

These font features (default and quality) are already defined in
font-pre.mkiv.

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___
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
___

[NTG-context] special features in simplefonts.

2015-01-24 Thread John Culleton
In regular Context font usage I have this
statement that works:

\def\Fontsize{13}
\font \rm =
file:MinionPro-Regular.otf:+liga;expansion=default;protrusion=quality
at \Fontsize bp

How would I use this font  in simplefonts?
it is the trailing parameters that I don't know
how to use in simplefonts, like:
 
:+liga;expansion=default;protrusion=quality
 
-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: Create Book Covers with
Scribus 1.4.5 coming soon at
http://www.booklocker.com/!
___
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
___