[NTG-context] Installing fonts in a ConTeXt Docker (texfont tool missing?)

Rodzis, Michelle rodzis at sub.uni-goettingen.de
Fri Apr 13 11:13:16 CEST 2018


Dear Mojca,


obviously I have forgotten to add an important detail - the fonts I want to install are TrueType fonts. My bad and apologies!


For installing ttf I've used http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf (also mentioned in wiki) so far, and it worked every time.

Best, Michelle

________________________________
Von: ntg-context <ntg-context-bounces at ntg.nl> im Auftrag von Mojca Miklavec <mojca.miklavec.lists at gmail.com>
Gesendet: Freitag, 13. April 2018 10:54
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Installing fonts in a ConTeXt Docker (texfont tool missing?)

On 13 April 2018 at 10:16, Rodzis, Michelle wrote:
> Dear list,
>
> currently I work on a customized Docker container based on Ubuntu 16.04
> where I run ConTeXt standalone. To install ConTeXt, I use the approach
> described in the wiki:
>
>
> RUN wget http://minimals.contextgarden.net/setup/first-setup.sh &&\
>     sh ./first-setup.sh --modules=all
>
> After setting ConTeXt root everything works fine and as expected. However,
> the texfont tool seems to be missing which means I cannot install new fonts
> in my container.

Nowadays texfont is the wrong tool to use. It doesn't actually install
fonts, it merely converts them from, say, Type 1, to a zillion of
8-bit files (meaning that you won't even be able to use more than a
couple accented characters in that font). This was useful before TeX
supported OpenType fonts, but is a complete waste of time and
resources to go through that painful route nowadays.

You can just copy your own OpenType font files to, say,
texmf-fonts/data (and probably update the font database after that
with mtxrun).

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context at 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
___________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180413/1f5e89ec/attachment.html>


More information about the ntg-context mailing list