ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Arthur Reutenauer <arthur.reutenauer@normalesup.org>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to use a true type font?
Date: Wed, 22 Sep 2010 13:49:09 +0200	[thread overview]
Message-ID: <20100922114909.GB6975@phare.normalesup.org> (raw)
In-Reply-To: <AANLkTimjCV5oS6dwtT6aRKsbKP0h2Ojxd8n25ub13z4x@mail.gmail.com>

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

  It used to be that kpathsea looked for files with a .ttf extension
under truetype/ exclusively, and likewise for .otf and opentype/.  This
is not correct because as you know, OpenType fonts can have a .ttf
extension if they use TrueType outlines (this is the case for all fonts
installed by default on Windows), but this is not a requirement (only a
"polite" thing to do for older rendering engines).  In order to add to
the confusion, this behaviour has been changed in TeX Live 2010 where
the list of directories searched for is now basically the same for .ttf
and .otf (but in a different order -- I told you it was confusing :-)

  Anyway, Mark IV should have no problem with it and disregard the file
extension completely.  It makes little sense anyway for ConTeXt.

	Arthur
___________________________________________________________________________________
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 11:49 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 [this message]
2010-09-22 12:04     ` Procházka Lukáš
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=20100922114909.GB6975@phare.normalesup.org \
    --to=arthur.reutenauer@normalesup.org \
    --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).