This is a context bug which was probably introduced with the recent optimization/speedup for the generation of the font database. As a result of this the following fields in the database (which are needed for simplefonts) are no longer available:

- designsize
- maxsize
- minsize
- pfmweight
- pfmwidth


Also some fonts like “Latin Modern Roman” can’t be loaded anymore because the font is no saved as

  {
   ["cleanfilename"]="lmroman10regular",
   ["familyname"]="lmroman10",
   ["filename"]="lmroman10-regular.otf",
   ["fontname"]="lmroman10regular",
   ["fontweight"]="book",
   ["format"]="otf",
   ["fullname"]="lmroman10regular",
   ["modification"]=1254935040,
   ["rawname"]="LMRoman10-Regular",
   ["style"]="normal",
   ["variant"]="normal",
   ["weight"]="normal",
   ["width"]="normal",
  },

but in an older version of the database the entry for the font looked like this:

  {
   ["cleanfilename"]="lmroman10regular",
   ["designsize"]=100,
   ["familyname"]="latinmodernroman",
   ["filename"]="lmroman10-regular.otf",
   ["fontname"]="lmroman10regular",
   ["format"]="otf",
   ["fullname"]="lmroman10regular",
   ["maxsize"]=110,
   ["minsize"]=95,
   ["modification"]=1254935040,
   ["modifiers"]="10regular",
   ["pfmweight"]=400,
   ["pfmwidth"]=5,
   ["rawname"]="LMRoman10-Regular",
   ["style"]="normal",
   ["subfamily"]="regular",
   ["variant"]="normal",
   ["weight"]="normal",
   ["width"]="normal",
  },


When you’re in a hurry and can’t wait for this to be fixed you can switch to an alternative search method of the fontfamily commands but the results can be differ from the default method.

\definefallbackfamily [mainface] [serif] [DejaVu Serif]     [alternative=simplefonts,preset=range:greek]
\definefontfamily     [mainface] [serif] [TeX Gyre Pagella] [alternative=simplefonts]

\setupbodyfont[mainface]

\starttext

\input knuth

χαλεπὰ τὰ καλά

\stoptext

Wolfgang

On 22.01.2014 21:22:24, Pablo Rodriguez <oinos@gmx.es> wrote:
Dear list,

using the latest beta from today (ConTeXt - 2014.01.22 01:31) in Linux
32-bit, I cannot get the new simplefonts working.

Here is the sample:

\definefallbackfamily [mainface] [serif] [DejaVu Serif]
[range={greek,extendedgreek},force=yes]
\definefontfamily [mainface] [serif] [TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\input knuth

χαλεπὰ τὰ καλά
\stoptext

But I only get the font LatinModernMath-Regular.

Am I missing something or is this a bug?

Many thanks for your help,


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
___________________________________________________________________________________