[NTG-context] Problem with fonts in Lua

Pablo Rodriguez oinos at gmx.es
Fri Sep 18 18:20:16 CEST 2020


On 9/15/20 1:15 PM, Wolfgang Schuster wrote:
> \setuplanguage [es] [patterns={es,gr}]

Just a minor issue, ancient Greek is "agr" (instead of "gr").

That being said, Heraklit is a good match for Palatino (both by Hermann
Zapf). The digitized version is available from
https://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip (direct
link).

So the final sample might read:

  \definefallbackfamily
     [mainface] [rm] [GFS Heraklit]
     [preset=range:greek,force=yes]

  \definefontfamily [mainface] [rm] [TeX Gyre Pagella]

  \definefontfamily [mainface] [ss] [TeX Gyre Heros] [scale=0.75]

  \setuplanguage [es] [patterns={es,gr}]

  \setupbodyfont [mainface, 15pt]

  \mainlanguage[es]

  \starttext

  \samplefile{cervantes-es}

  \samplefile{aristotle-grc}}

  \stoptext

Just in case it helps,

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list