[NTG-context] Garamond Premier Pro font goodies file

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon May 2 20:31:59 CEST 2016


> massifr at fastwebnet.it <mailto:massifr at fastwebnet.it>
> 28. April 2016 um 10:58
> Hello list,
> I'm using the Adobe Garamond Premier Pro font.
> It has 4 optical sizes: Caption, Normal, Subhead, Display.
> I tried to modify ebgaramond.lfg to adapt it to Garamond Premier Pro.
> You find it as an attachment.
>
> I don't know how to use that goodies file to see the different optical 
> sizes
> in a document. I've tried this:
>
> \loadfontgoodies[GaramondPremierPro]
>
> \definefontfamily [default] [rm] [tf=name:GaramondPremierPro-Regular,
> it=name:GaramondPremierPro-Italic]
>
> \setupbodyfont[default,12pt]
>
> \dostepwiserecurse {6} {22} {1} {
> \definebodyfontenvironment[default][#1pt][text=#1pt,em=italic]
> }
>
> \starttext
>
> \dostepwiserecurse {6} {22} {1} {
> \switchtobodyfont[#1pt]
> \purefontname\font: \input tufte
> \blank
> }
>
> \stoptext
>
> but it does not work. Any help?
%\definefontfamily [default] [rm] [GaramondPremierPro] [opticalsize=yes]
\definefontfamily [default] [rm] [Latin Modern Roman] [opticalsize=yes]

\setupbodyfont[default,12pt]

\starttext

\dostepwiserecurse {6} {22} {1}
   {\switchtobodyfont[#1pt]
    \purefontname\font: \input ward
    \blank}

\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160502/a746da6b/attachment.html>


More information about the ntg-context mailing list