I still get (while using subfolders in ~/.fonts/opentype/) !LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 after having run export OSFONTDIR="/usr/local/share/fonts//;$HOME/.fonts//" and Pablo’s proposal mtxrun --script fonts --reload --force although a lot happens after latter command. Running mtxrun --script fonts --list --all lists much more fonts now than before, but the PDF rendering still fails. After I move the OTF files from the subfolders to the parentfolder ~/.fonts/ and run mtxrun --script fonts --reload --force again, the PDF just renders fine. Any ideas? Greetings Jörg On 31.01.2015 16:05, Pablo Rodriguez wrote:
On 01/31/2015 01:40 PM, Jörg Weger wrote:
In my Linux home folder I have the usual “~/.fonts/” folder in which I have put subfolders “~/.fonts/opentype/” and “~/.fonts/truetype/”. Inside those subfolders I would like font families to have their own subfolders. [...] What am I missing? (Typo maybe?)
Hi Jörg,
it seems that // makes the search recursive.
And you have to force the font cache generation:
mtxrun —script font —reload —force
I hope ith works,
Pablo