mass...@fastwebnet.it <mailto:mass...@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
___________________________________________________________________________________
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
___________________________________________________________________________________