ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: installing a true-type font: can't find ttf2afm
Date: Mon, 04 Nov 2013 22:54:24 +0100	[thread overview]
Message-ID: <52781790.5080506@wxs.nl> (raw)
In-Reply-To: <527815CB.2040808@sil.org>

On 11/4/2013 10:46 PM, Lars Huttar wrote:
> On 11/4/2013 3:34 PM, Mojca Miklavec wrote:
>> - you can find Gentium at http://www.ctan.org/pkg/gentium-tug (also in
>> TeX Live and in the ConTeXt distribution)
>
> Thank you ... that was key information I didn't have.
> I was instead downloading the TTF files from sil.org.
>
>> - Gentium works out-of-the-box in ConTeXt (see the documentation of
>> gentium-tug)
>
> When you say "out of the box", I think you're referring to the
> gentium-tug package box, not the ConTeXt box... in other words, I should
> not expect Gentium to work just because I installed ConTeXt; I have to
> also install gentium-tug, right?
> If not, I must be doing something wrong because I can't find Gentium in
> the luatex-cache font database.

Did you run (file database)

   mtxrun --generate

normally the font database is regenerated automatically when needed.

>>> This is under TeX Live 2013, the context scheme, and I've been using
>>> ConTeXt mkiv.
>> So why bother about pdfTeX?
>
> Only because the latest instructions I could find said to use texfont,
> which uses ttf2afm, which was missing and I thought it might come from
> pdfTeX. I'm glad to know I don't have to, and I'll update that wiki page
> accordingly.

It was (is?) part of the pdftex suite because pdftex can embed a ttf 
font even if type-1 variant afm/tfm files are used. The main purpose of 
texfont was to make type 1 fonts ready for tex (by generating tfm 
files). In the meantime the lm/gust project provide the files needed for 
the most relevant fonts, but for other (like commercial) fonts you still 
need to generate tfm's of course. Anyhow, as Mojca pointed out: there is 
no need for this in mkiv (luatex). One can still use type one fonts or 
course but nothing special is needed for that as context will treat them 
as wide fonts.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2013-11-04 21:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 19:55 Lars Huttar
2013-11-04 20:34 ` Mojca Miklavec
2013-11-04 21:46   ` Lars Huttar
2013-11-04 21:54     ` Hans Hagen [this message]
2013-11-04 21:56     ` Mojca Miklavec
2013-11-04 22:32       ` Wolfgang Schuster
2013-11-05 16:08         ` Lars Huttar
2013-11-05 17:05           ` Mojca Miklavec
2013-11-05 18:25             ` Lars Huttar
2013-11-05 23:37               ` Wolfgang Schuster
2013-11-05 18:55       ` Lars Huttar
2013-11-06 17:25         ` 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=52781790.5080506@wxs.nl \
    --to=pragma@wxs.nl \
    --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).