ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Loading OTF fonts?
Date: Thu, 12 Sep 2019 16:46:42 +0200	[thread overview]
Message-ID: <9C7E62C5-B4D0-4D9E-98CE-8E0A769939D5@free.fr> (raw)
In-Reply-To: <FD100427-6929-4A9D-BDE0-BDB42E748A4B@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1942 bytes --]

PATH=$PATH:/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin (Be aware to edit the good path to/tex/texmf-Linux64/bin);
Then : context --generate
Then again : context --make
At last , one loads fonts through : mtxrun --script fonts --reload.
Don’t forget to inform CtXt about fonts files :
export OSFONTDIR=~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/


> Le 12 sept. 2019 à 13:11, Jon Wong <jhannwong@gmail.com> a écrit :
> 
> Hi all,
> 
> Oops. I think I’m failing at understanding font lookup folder. Maybe I need pointers on OSFONTDIR?
> 
> Specifying the full path works.
> 
> Regards
> Jon
> 
> 
>> On Sep 12, 2019, at 6:42 PM, Jon Wong <jhannwong@gmail.com> wrote:
>> 
>> Hi all,
>> 
>> I tried following this tex.sx answer: https://tex.stackexchange.com/questions/453143/noto-cjk-font-not-usable-with-context
>> 
>> Can someone give me an explanation of what I did wrong? Hit me with all the technical concepts. I’m competent with fontspec on XeTeX.
>> 
>> Step 1: Copy NotoSerifCJKsc-Regular.otf to ~/context/tex/texmf-local/fonts
>> 
>> Step 2: Run `mtxrun --script font --convert NotoSerifCJKsc-Regular.otf'
>> 
>> Step 3: Run `mtxrun —script fonts --reload’
>> 
>> Step 4: Run `context test.tex’
>> 
>> The error:
>> 
>> fonts           > defining > unknown font 'NotoSerifCJKsc-Regular', loading aborted
>> 
>> Regards
>> Jon
>> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 6479 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2019-09-12 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 10:42 Jon Wong
2019-09-12 11:11 ` Jon Wong
2019-09-12 14:46   ` Jean-Pierre Delange [this message]

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=9C7E62C5-B4D0-4D9E-98CE-8E0A769939D5@free.fr \
    --to=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).