ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Jean-Pierre Delange <adeimantos@free.fr>
Subject: [NTG-context] Re: Install fonts on MS Windows
Date: Sat, 23 Sep 2023 20:56:57 +0200	[thread overview]
Message-ID: <39caa69a-d2dc-3af2-8382-6b24fd1b5945@gmail.com> (raw)
In-Reply-To: <98dcbc93-03e3-4a93-b62b-45a452b25e48@free.fr>

Jean-Pierre Delange schrieb am 23.09.2023 um 20:37:
> Thanks to Pablo, Hraban and Wolfgang for their advice.
>
> Precisely, I've never had any problems before with installing 
> additional fonts for CTX with MS Windows : it usually "works".
>
> That's why I was wondering... So I'm going to put the extra fonts in 
> /texmf-fonts/fonts/data as Hraban advises.
>
> But to make a "set OSFONTDIR=c:\windows\fonts" is allways necessary I 
> presume (in order to make CTX able to use windows fonts) ?

The file mtxrun.lua contains the following check which sets default 
paths on Windows and Mac when no value for OSFONTDIR is set.

do
  local osfontdir=osgetenv("OSFONTDIR")
  if osfontdir and osfontdir~="" then
  elseif osname=="windows" then
   ossetenv("OSFONTDIR","c:/windows/fonts//")
  elseif osname=="macosx" then
ossetenv("OSFONTDIR","$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//")
  end
end

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-09-23 18:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21 13:31 [NTG-context] Toggling the symbol for the zero-width joiner and related Unicode control characters Hamid,Idris
2023-09-21 14:52 ` [NTG-context] " Hans Hagen
2023-09-21 20:53   ` Hamid,Idris
2023-09-21 21:29     ` Hans Hagen
2023-09-22  4:16       ` Hamid,Idris
2023-09-22  9:53         ` Hans Hagen via ntg-context
2023-09-22 12:39           ` Hamid,Idris
2023-09-22 13:03             ` Hans Hagen
2023-09-22 13:22               ` Hamid,Idris
2023-09-22 13:15             ` Hans Hagen
2023-09-22 13:51               ` Hamid,Idris
2023-09-22 16:44                 ` Hans Hagen via ntg-context
2023-09-23 12:40                   ` [NTG-context] Install fonts on MS Windows Jean-Pierre Delange
2023-09-23 17:15                     ` [NTG-context] " Pablo Rodriguez
2023-09-23 18:05                     ` Henning Hraban Ramm
2023-09-23 18:15                       ` Wolfgang Schuster
2023-09-23 18:37                         ` Jean-Pierre Delange
2023-09-23 18:56                           ` Wolfgang Schuster [this message]
2023-09-23 18:30                       ` Jean-Pierre Delange
2023-09-23 18:42                         ` Henning Hraban Ramm
2023-09-23 19:14                   ` [NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters Hamid,Idris
2023-09-24  5:50 [NTG-context] Re: Install fonts on MS Windows Andres Conrado Montoya
2023-09-24  8:04 ` Jean-Pierre Delange
2023-09-24 10:26   ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39caa69a-d2dc-3af2-8382-6b24fd1b5945@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=adeimantos@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).