ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* OSFONTDIR
@ 2010-06-03 14:50 Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2010-06-03 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <9BAE7219-2E4C-4B84-B0C3-C5F67D3FFCC2@fiee.net>]

end of thread, other threads:[~2019-08-16  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-03 14:50 OSFONTDIR Mojca Miklavec
     [not found] <9BAE7219-2E4C-4B84-B0C3-C5F67D3FFCC2@fiee.net>
2019-08-15 21:06 ` Fwd: OSFONTDIR and Windows 10 Henning Hraban Ramm
2019-08-15 21:57   ` Hans Hagen
2019-08-16  5:40     ` OSFONTDIR Henning Hraban Ramm
2019-08-16  6:14       ` OSFONTDIR Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).