[NTG-context] [fonts] Why does ConTeXt keep telling me "source file is not found" ?

Goulven Guillard lecotegougdelaforce at free.Fr
Wed Oct 28 10:57:23 CET 2015

Le 28/10/2015 09:43, luigi scarso a écrit :
> hm, strange. In Ubuntu 14.04:

FWIW, I'm using Fedora 20.

> what does
> ls  /usr/share/fonts/liberation/LiberationSans-Regular.ttf
> say ?

$ ls -l /usr/share/fonts/liberation/LiberationSans-Regular.ttf
-rw-r--r--. 1 root root 139632 28 août   2013 

Actually it seems the issue is with kpsepath not searching fonts files 
recursively.  I tried to set OSFONTDIR="/usr/share/fonts//" (with two 
trailing slashes — I even tried more…) but it didn't help, though 
kpsewhich --var-value=OSFONTDIR gives the expected path.

I've ended linking all fonts directly in $HOME/.fonts/, but of course a 
cleaner solution would still be welcome.



More information about the ntg-context mailing list