From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105045 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Pierre Delange Newsgroups: gmane.comp.tex.context Subject: Re: Loading OTF fonts? Date: Thu, 12 Sep 2019 16:46:42 +0200 Message-ID: <9C7E62C5-B4D0-4D9E-98CE-8E0A769939D5@free.fr> References: <60990122-7BA8-4879-A4F4-44863057456F@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (1.0) Content-Type: multipart/mixed; boundary="===============0672699805498960499==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="264200"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 12 16:48:00 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i8QO8-0016ZF-6y for gctc-ntg-context-518@m.gmane.org; Thu, 12 Sep 2019 16:48:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2077D160D3A; Thu, 12 Sep 2019 16:46:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrpVMgrIorwW; Thu, 12 Sep 2019 16:46:57 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1F55F160D3D; Thu, 12 Sep 2019 16:46:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1CE73160D39 for ; Thu, 12 Sep 2019 16:46:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jCnd5gTNrE9T for ; Thu, 12 Sep 2019 16:46:51 +0200 (CEST) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=212.27.42.6; helo=smtp6-g21.free.fr; envelope-from=adeimantos@free.fr; receiver= Original-Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3FB2E160D1C for ; Thu, 12 Sep 2019 16:46:51 +0200 (CEST) Original-Received: from [192.168.0.36] (unknown [91.168.45.194]) (Authenticated sender: adeimantos) by smtp6-g21.free.fr (Postfix) with ESMTPSA id CDD017803AD for ; Thu, 12 Sep 2019 14:46:49 +0000 (UTC) In-Reply-To: X-Mailer: iPhone Mail (16G102) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:105045 Archived-At: --===============0672699805498960499== Content-Type: multipart/alternative; boundary=Apple-Mail-7F49FFC7-FFA2-4AB4-A0F7-1DD79E054169 Content-Transfer-Encoding: 7bit --Apple-Mail-7F49FFC7-FFA2-4AB4-A0F7-1DD79E054169 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable PATH=3D$PATH:/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin (Be aw= are 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=E2=80=99t forget to inform CtXt about fonts files : export OSFONTDIR=3D~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype= / > Le 12 sept. 2019 =C3=A0 13:11, Jon Wong a =C3=A9crit= : >=20 > Hi all, >=20 > Oops. I think I=E2=80=99m failing at understanding font lookup folder. May= be I need pointers on OSFONTDIR? >=20 > Specifying the full path works. >=20 > Regards > Jon >=20 >=20 >> On Sep 12, 2019, at 6:42 PM, Jon Wong wrote: >>=20 >> Hi all, >>=20 >> I tried following this tex.sx answer: https://tex.stackexchange.com/quest= ions/453143/noto-cjk-font-not-usable-with-context >>=20 >> Can someone give me an explanation of what I did wrong? Hit me with all t= he technical concepts. I=E2=80=99m competent with fontspec on XeTeX. >>=20 >> Step 1: Copy NotoSerifCJKsc-Regular.otf to ~/context/tex/texmf-local/font= s >>=20 >> Step 2: Run `mtxrun --script font --convert NotoSerifCJKsc-Regular.otf' >>=20 >> Step 3: Run `mtxrun =E2=80=94script fonts --reload=E2=80=99 >>=20 >> Step 4: Run `context test.tex=E2=80=99 >>=20 >> The error: >>=20 >> fonts > defining > unknown font 'NotoSerifCJKsc-Regular', loadi= ng aborted >>=20 >> Regards >> Jon >>=20 >=20 > __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry to t= he Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-con= text > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > __________________________________________________________________________= _________ --Apple-Mail-7F49FFC7-FFA2-4AB4-A0F7-1DD79E054169 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
  1. PATH=3D$PATH:/Users/adeimanto= s/Documents/context/tex/texmf-osx-64/bin (Be aware to edit the g= ood path to/tex/texmf-Linux64/bin);
  2. Then : context --generate
  3. Then again : = context --make
  4. At las= t , one loads fonts through : mtxrun --script fonts --reload<= /code>.
Don=E2=80=99t forget to inform CtXt about fonts file= s :
export OSFO= NTDIR=3D~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/


Le 12 sept. 2019 =C3=A0 13:= 11, Jon Wong <jhannwong@gmail.com<= /a>> a =C3=A9crit :




Hi all,

I tried followi= ng this tex.sx answer: https://tex.stac= kexchange.com/questions/453143/noto-cjk-font-not-usable-with-context

Can someone give me a= n explanation of what I did wrong? Hit me with all the technical concepts. I= =E2=80=99m competent with fontspec on XeTeX.

Step 1: Copy NotoSerifCJKsc-Regular.otf to ~/contex= t/tex/texmf-local/fonts

Step 2: Run `mtxrun --script font --convert NotoSerifCJKsc-Regular.otf= '

Step 3: Run `mtx= run =E2=80=94script fonts --reload=E2=80=99

Step 4: Run `context test.tex=E2=80=99

The error:

fonts         &nb= sp; > defining > unknown font 'NotoSerifCJKsc-Regular', loading aborte= d

Regards
Jon


_________________________________________________= __________________________________
If your question is of in= terest to others as well, please add an entry to the Wiki!
<= /span>
maillist : ntg-context= @ntg.nl / htt= p://www.ntg.nl/mailman/listinfo/ntg-context
webpage &nbs= p;: http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/

= wiki     : http://c= ontextgarden.net
_______________________________________= ____________________________________________
= --Apple-Mail-7F49FFC7-FFA2-4AB4-A0F7-1DD79E054169-- --===============0672699805498960499== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0672699805498960499==--