[NTG-context] How to use a true type font?

Procházka Lukáš lpr at pontex.cz
Wed Sep 22 14:04:42 CEST 2010

... Thanks, it works perfectly.

I looked into c:\ConTeXt\tex\texmf\web2c\texmfcnf.lua (ln. 42) as well - it seems to me that paths for searching for various kinds of font are prescribed here, see e.g.:

         TTFONTS         = ".;$TEXMF/fonts/{data,truetype,ttf}//;$OSFONTDIR",
         OPENTYPEFONTS   = ".;$TEXMF/fonts/{data,opentype}//;$OSFONTDIR",

(Agrees with Mojca's observation.)

So if I insisted on keeping the BrickToBrick.ttf in a special directory, it would mean to change the lines above e.g. to:

         TTFONTS         = ".;$TEXMF/fonts/{data,truetype,ttf}//;$OSFONTDIR;MySpecialDirectory",


And one more question - maybe due to that I'm not Linux user -

- what does the "!!" at the begin and the "//" at the and of some paths mean? Or is it something TeX-special?

Maybe a link to a document will be the answer...



On Wed, 22 Sep 2010 12:16:05 +0200, Mojca Miklavec <mojca.miklavec.lists at gmail.com> wrote:

> On Wed, Sep 22, 2010 at 12:06, Mojca Miklavec wrote:
>> 2010/9/22 Procházka Lukáš wrote:
>>> 1) What's the best destination where the BrickToBrick.ttf should be placed?
>>> (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.)
>> You need to put it to
>> a) c:\ConTeXt\tex\texmf-local\data\<politebutnotneededtoputfontnamefolderhere>\BrickToBrick.ttf
>> b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf
>> (or truetype instead of opentype; I'm not sure what kind of font it
>> is, but on the other hand I don't think that it really matters)
> An interesting observation: the font won't work if you put it under
> opentype, it only works if you put it under truetype or data. But your
> input works fine.
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

More information about the ntg-context mailing list