ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "luigi.scarso" <luigi.scarso@logosrl.it>
Subject: Re: kerning and TFM problems
Date: Mon, 21 Mar 2005 18:02:59 +0100	[thread overview]
Message-ID: <423EFE43.10304@logosrl.it> (raw)
In-Reply-To: <a06210208be64a648d8ab@[62.134.77.250]>

Steffen Wolfrum wrote:

> Hi,
>
> I want to use OSX HelveticaNeue font.
>
> So I open it in FontForge and - because I'd like to use the kerning 
> information - generate the Font with its PFB, AFM and TFM files.
>
>
> According to Bill's help page it should work by (renaming and) placing 
> the phnr8r.tfm in its tfm folder, the phnr8a.afm and phnr8a.pfb in its 
> respective folders (within my texfm-font tree).
>
> Then I need a mapfile texnansi-helveticaneue.map with the line:
>
> phnr8r HelveticaNeue 4 < phnr8a.pfb texnansi.enc
>
> And my test file looks like this:
>
> \loadmapfile[texnansi-adobe-helveticaneue.map]
>
> \definefontsynonym[HelveticaNeue][phnr8r][encoding=texnansi]
> \definefont[MySecondFont][HelveticaNeue]
> \starttext
> \MySecondFont I sang of leaves, of leaves of gold, and leaves of gold 
> there grew.
> \stoptext
>
> But it results in problems with the TFM file. Why?
>
>
> ! Font \**MySecondFont**=phnr8r at 12.0pt not loadable: Bad metric 
> (TFM) file.
> <to be read again>
>                    \relax
> \dododefinefont ...ontspec {#2}\rawfontidentifier
>                                                   \let 
> \localrelativefontsiz...
>
> \redodefinefont #1#2#3->\dododefinefont {#1}{#2}
>                                                 \doifsetupselse {#3} 
> {\setup...
> l.7 \MySecondFont
>                   I sang of leaves, of leaves of gold, and leaves of 
> gold th...
>
> ?
>
>
>
> Steffen
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
Did you re-hash (mktexlsr or something similar) ?

luigi

      reply	other threads:[~2005-03-21 17:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 16:55 Steffen Wolfrum
2005-03-21 17:02 ` luigi.scarso [this message]

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=423EFE43.10304@logosrl.it \
    --to=luigi.scarso@logosrl.it \
    --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).