On Mar 17, 2011, at 11:53, Stefan Müller wrote: > Yes, I thought so. I just asked, because I couldn't find an environment > variable with that name. Even after "setuptex.bat" typing "echo %OSFONTDIR%" > did only print "%OSFONTDIR%" and not a list of paths, as I expected.
There are defaults baked into the binaries. If you don't set the environment variable, you get the built-in defaults. That's generally how things work on Unix. On Mar 17, 2011, at 11:53, Stefan Müller wrote: > (2A) Put .afm files to C:\Windows\Fonts > (2B) Put the complete rsfs (containing the .afm and all the other stuff) > directory to texmf-fonts\fonts Right... From the point of view of ConTeXt/LuaTeX use, there's no need for the fonts to be installed in Windows; you just need to have all the files somewhere that OSFONTDIR (or the default font paths) will point. The font outlines will be embedded into the PDF by default, so the OS doesn't need to have access to them. > - In both versions, step (1) seems to be mandatory. I would expect, that the > rsfs directory in texmf-fonts\fonts should be enough, as mtxrun clearly > searches there and all the files are there, too. I don't understand the > problem here. Hmm, that *would* explain my problem with getting GhostScript's Type 1 fonts working... I must investigate further! > - If the .pfm and .pfb files are sufficient for Windows, why does mtxrun > specifically search for .afm files and not also for .pfm? Probably because mtxrun (and the rest of ConTeXt and LuaTeX) are written for Unix and ported to Windows, and Unix uses .afm files for metrics. (Except OS X, which is different for historical reasons.) That and .afm files are much easier to work with because they're text files. But it might not be a bad idea for LuaTeX to automatically perform a pfm2afm conversion and cache the converted files when necessary, and probably not that hard to code. On the other hand, Type 1 fonts are legacy at this point, so it might not be worth it. mathew ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : email@example.com / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________