[NTG-context] Embedding fonts from a file

Krešimir Cindrić kresimircindric at gmail.com
Fri Aug 14 14:28:11 CEST 2020


About a year ago, I asked on this list how to embed OpenType fonts from
files (that is, use fonts that are not installed on the system), because
one of my projects needed portability (be entirely contained in one
directory that I could share). I was given a great answer by Hans and this
minimal example

    % \ctxlua{fonts.names.addruntimepath("./myfonts")}

     Hello World!


     {\myfont Hello World!}

This worked beautifully (with some caveats, like having to clear the cache
regularly), but for some reason, it stopped working. I don't know exactly
when, because I haven't compiled that project in months, and in the
meantime I reinstalled Linux. But now, all embedded fonts are not loading
and I get "'fallback modern-designsize rm 12pt' is loaded" as an error

Any assistance would be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200814/05ab077b/attachment-0001.htm>

More information about the ntg-context mailing list