ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill McClain <wmcclain@salamander.com>
Cc: ntg-context@ntg.nl
Subject: Re: Emdedding Acrobat Reader fonts
Date: Thu, 19 Sep 2002 06:24:50 -0500	[thread overview]
Message-ID: <20020919062450.2dbb1f05.wmcclain@salamander.com> (raw)
In-Reply-To: <2798291.1032430301731.JavaMail.ngmail@mx09.arcor-online.net>

On Thu, 19 Sep 2002 12:11:41 +0200 (CEST)
peter.rolf@arcor.de wrote:

> ec-adobe-helvetic.map:
> 	ec-raw-phvb Arial-BoldMT 4 < phvb8a.pfb ec.enc
> 	ec-raw-phvbo Arial-BoldItalicMT 4 < phvbo8a.pfb ec.enc
> 	ec-raw-phvr ArialMT 4 < phvr8a.pfb ec.enc
> 	ec-raw-phvro Arial-ItalicMT 4 < phvro8a.pfb ec.enc
> 
> ...
> \setupbodyfont[phv,12pt]
> \loadmapfile[ec-adobe-helvetic.map]
> \definefontsynonym[Helvetica][phvr][encoding=ec]
> \definefontsynonym[Helvetica-Bold][phvb][encoding=ec]
> \definefontsynonym[Helvetica-BoldOblique][phvbo][encoding=ec]
> \definefontsynonym[Helvetica-Oblique][phvro][encoding=ec]
> \setupbodyfont[ss]
> ...

(1) The first field in this line:

    ec-raw-phvb Arial-BoldMT 4 < phvb8a.pfb ec.enc

and the second parameter in this line:

    \definefontsynonym[Helvetica][phvr][encoding=ec]

must be the same. That is, both should be either "ec-raw-phvb" or
"phvr". Same for the three other font files.

(2) Remember: \loadmapfile will not work unless the
\autoloadmapfilestrue line is uncommented in cont-sys.tex.

(3) Remember: after moving files or creating new ones you have to run
texhash (= mktexlsr).

(4) Suggestion: you might put the .afm and .pfb files of interest into a
temporary directory and run texfont on them, just as if you were
installing a new commercial font. It will create the .tfm and .vf files
in the proper location, a .map file, and a test .tex job. 

In my experimenting, I have found it an error to reference the raw files
directly. The fonts mostly work but are missing important features. It
is better to use the virtual fonts that texfont creates.

-Bill
-- 
Sattre Press                                      Pagan Papers
http://sattre-press.com/                    by Kenneth Grahame
info@sattre-press.com              http://pp.sattre-press.com/ 


  reply	other threads:[~2002-09-19 11:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 10:11 peter.rolf
2002-09-19 11:24 ` Bill McClain [this message]
2002-09-23 12:01   ` Emdedding Acrobat Reader fonts (CORRECTION) Bill McClain
2002-09-20  9:37 ` Emdedding Acrobat Reader fonts Jens-Uwe Morawski

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=20020919062450.2dbb1f05.wmcclain@salamander.com \
    --to=wmcclain@salamander.com \
    --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).