<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">
<blockquote style="border: 0px none;" cite="mid:1817242.h9tBJeq2pc@max" 
type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:massifr@fastwebnet.it" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">massifr@fastwebnet.it</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">28. 
April 2016 um 10:58</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div>Hello list,<br>I'm using 
the Adobe Garamond Premier Pro font.<br>It has 4 optical sizes: Caption,
 Normal, Subhead, Display.<br>I tried to modify ebgaramond.lfg to adapt 
it to Garamond Premier Pro.<br>You find it as an attachment.<br><br>I 
don't know how to use that goodies file to see the different optical 
sizes<br>in a document. I've tried this:<br><br>\loadfontgoodies[GaramondPremierPro]<br><br>\definefontfamily
 [default] [rm] [tf=name:GaramondPremierPro-Regular,<br>                
                  it=name:GaramondPremierPro-Italic]<br><br>\setupbodyfont[default,12pt]<br><br>\dostepwiserecurse
 {6} {22} {1} {<br>  
\definebodyfontenvironment[default][#1pt][text=#1pt,em=italic]<br>}<br><br>\starttext<br><br>
    \dostepwiserecurse {6} {22} {1} {<br>        \switchtobodyfont[#1pt]<br>
        \purefontname\font: \input tufte<br>        \blank<br>    }<br><br>\stoptext<br><br>but
 it does not work. Any help?<br>
</div></div>
</blockquote>
%\definefontfamily [default] [rm] [GaramondPremierPro] [opticalsize=yes]<br>
\definefontfamily [default] [rm] [Latin Modern Roman] [opticalsize=yes]<br>
<br>
\setupbodyfont[default,12pt]<br>
<br>
\starttext<br>
<br>
\dostepwiserecurse {6} {22} {1} <br>
  {\switchtobodyfont[#1pt]<br>
   \purefontname\font: \input ward<br>
   \blank}<br>
<br>
\stoptext                                  <br>
<br>
Wolfgang<br>
</body></html>