![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 2017-03-15 um 08:27 schrieb Henning Hraban Ramm
There seem to be serious problems with font detection.
I spent most of yesterday trying to convince ConTeXt to load my font, even from the same directory and even proven candidates like Gentium and Delicious – I get mostly only TeX Gyre Palladio Math :(
While a simple example works:
\usetypescriptfile[type-fiee] \usetypescript[fiee] \setupbodyfont[fiee,rm,9.5pt]
\starttext \input tufte {\ss \input knuth } \stoptext
The same code in an environment doesn’t. I tried force-reloading the font database several times, deleting the luatex cache, reverting to an older version - always the same. I’m out of resources now.
My log says only:
... open source > level 5, order 6, name 'type-fiee.tex' close source > level 5, order 6, name 'type-fiee.tex' fonts > typescripts > unknown library 'default' ... mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, texgyrepagella-math.otf mkiv lua stats > font engine: otf 3.027, afm 1.512, tfm 1.000, 10 instances, 3 shared in backend, 0 common vectors, 3 common hashes, load time 0.824 seconds ... mkiv lua stats > luatex banner: this is luatex, version 1.0.3 (tex live 2017/dev)
Ahoi, while I found a workaround for my problem, I still don’t understand the cause: – I defined a family of Gentium and Delicious in a typescript file (as attached in my previous post), – If I load this in a minimal example, as above, all is well. – If I load this in an environment, the fonts are ignored. There are no error messages. – If I change the font size from 9.5pt to any integer size, it works! Does this ring any bells? What’s wrong with decimal font sizes, and why only in a project setup? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD