* Loading OTF fonts?
@ 2019-09-12 10:42 Jon Wong
2019-09-12 11:11 ` Jon Wong
0 siblings, 1 reply; 3+ messages in thread
From: Jon Wong @ 2019-09-12 10:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 720 bytes --]
Hi all,
I tried following this tex.sx answer: https://tex.stackexchange.com/questions/453143/noto-cjk-font-not-usable-with-context <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
[-- Attachment #1.2: Type: text/html, Size: 1468 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Loading OTF fonts?
2019-09-12 10:42 Loading OTF fonts? Jon Wong
@ 2019-09-12 11:11 ` Jon Wong
2019-09-12 14:46 ` Jean-Pierre Delange
0 siblings, 1 reply; 3+ messages in thread
From: Jon Wong @ 2019-09-12 11:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1006 bytes --]
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 <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
>
[-- Attachment #1.2: Type: text/html, Size: 2295 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Loading OTF fonts?
2019-09-12 11:11 ` Jon Wong
@ 2019-09-12 14:46 ` Jean-Pierre Delange
0 siblings, 0 replies; 3+ messages in thread
From: Jean-Pierre Delange @ 2019-09-12 14:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-12 14:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 10:42 Loading OTF fonts? Jon Wong
2019-09-12 11:11 ` Jon Wong
2019-09-12 14:46 ` Jean-Pierre Delange
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).