Dear Hans, Some time ago the following code was working. On Mac it seems to have no influence now (OSFONTDIR doesn't get "fixed"), but if I set it in environment to the same string, it works. local function check_configuration() -- not yet ok, no time for debugging now if os.env["OSFONTDIR"] then -- ok elseif os.type == "windows" then os.setenv("OSFONTDIR","c:/windows/fonts//") elseif os.type == "macosx" then os.setenv("OSFONTDIR","$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//") end end Can it be that setenv doesn't really set anything (it just sets it locally to some variable) and then resolvers only look for proper environmental or texmf.cnf variables? I have an impression that that function has been removed from LuaTeX a while ago, but I may be wrong. Mojca