ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš" <lpr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: How to use a true type font?
Date: Wed, 22 Sep 2010 14:04:42 +0200	[thread overview]
Message-ID: <op.vjfnt4q48lgizc@lk-2008-nbk> (raw)
In-Reply-To: <AANLkTimjCV5oS6dwtT6aRKsbKP0h2Ojxd8n25ub13z4x@mail.gmail.com>

... 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",

right?

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

Cheers,

Lukas


On Wed, 22 Sep 2010 12:16:05 +0200, Mojca Miklavec <mojca.miklavec.lists@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@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
> ___________________________________________________________________________________
>



___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2010-09-22 12:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22  9:02 Procházka Lukáš
2010-09-22  9:09 ` luigi scarso
2010-09-22 10:06 ` Mojca Miklavec
2010-09-22 10:16   ` Mojca Miklavec
2010-09-22 10:23     ` Hans Hagen
2010-09-22 11:49     ` Arthur Reutenauer
2010-09-22 12:04     ` Procházka Lukáš [this message]
2010-09-22 12:11       ` Mojca Miklavec
2010-09-22 12:20         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vjfnt4q48lgizc@lk-2008-nbk \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).