On Thu, Jul 03, 2008 at 09:57:51AM +0200, Mojca Miklavec wrote: > On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote: > > But, Hans, in the post Mojca says I have the same problem:) > > uh? > > In font-syn.lua there is > local pathlist = fonts.names.getpaths() > > This used to contain some hard-coded paths for Mac users, but then > Hans switched to reading fonts.conf with > > -- name is "fonts.conf" > local name = fonts.names.xml_configuration_file or "" > if name ~= "" then > -- this works on Hans' computer, but not here; name becomes empty > local name = input.find_file(name,"other") > -- so this loop is never entered and system fonts are never read > if name ~= "" then > collect(xml.collect_texts(xml.load(name),"dir",true)) > end > end > > I guess that Hans has a fonts.conf in his TeX tree, while Linux & Mac > users don't, and luaTeX doesn't know where to look for fonts.conf. > What's worse: I suspect that OSFONTSDIR might be completely ignored. > > No, don't ask me where fonts.conf should be. Mine are at > /Users/mojca/.fonts.conf > /private/etc/fonts/fonts.conf > but I have no idea what's the proper/default location if any. If this is fontconfig's fonts.conf, the per user file is ~/.fonts.conf, the system wide file depends on your installation. But not every user will have a ~/.fonts.conf (it must be manually created AFAIK). Regards, Khaled > > > The /private/etc/fonts/fonts.conf one says: > > > ~/.fonts.conf > > > local.conf > > So I guess that's where the other one gets included. > > Mojca > > > -a- > > On 3 Jul 2008, at 00:09, Hans Hagen wrote: > > > > Andrea Valle wrote: > > > > Ah. > > So, what the mail by Mojca meant? > > the one starting with: > > Hans, > > I thought that it had worked some time ago, but it seems that it's > > broken. OPENTYPEFONTS seems the right folders, but doesn't find files > > in them. > > .... > > > > that something is broken om mojca's machine but we're working on it > > (when we have a spare moment) > > Hans > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ -- Khaled Hosny Arabic localizer and member of Arabeyes.org team