[NTG-context] Loading OTF fonts?

Jon Wong jhannwong at gmail.com
Thu Sep 12 13:11:43 CEST 2019


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 at 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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190912/57084f63/attachment.html>


More information about the ntg-context mailing list