ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "W. Egger" <w.egger@boede.nl>
Cc: <wmcclain@salamander.com>
Subject: Re: TrueType Fonts in Context under Linux?
Date: Wed, 6 Mar 2002 22:05:00 +0100	[thread overview]
Message-ID: <005201c1c553$de2af840$0100a8c0@digitpaint.nl> (raw)
In-Reply-To: <3C853CD6.90831991@salamander.com>

Hi,

Sorry I did not answer to this one, because I do not have a lot of Linux
experience. - In fact I installed TTF  in a win environment and can use them
with Context. The results? -

Prepare the afm and tfm files with the respective tools. (Use Hans his
namingscheme)

Prepare a typescript, which can go into \texmf\tex\context\user: e.g.
type-myttf.tex

\starttypescript [sans] [schwaben] [name]
  \definefontsynonym [Sans] [SchwabenRoman]
\stoptypescript

Put a line in the file \texmf\tex\context\user\type-loc.tex ( this file is
automatically loaded at runtime)

\starttypescript [map] [texnansi]
  \loadmapfile[texnansi-myttf.map]
\stoptypescript

Prepare the above mentioned map-file  with the necessary lines:

texnansi-schwaben "Schwaben TeXnANSIEncoding ReEncodeFont" <schwaben.ttf
<texnansi.enc

In your texsource:

\usetypescriptfile[type-myttf]
\definetypeface [Firstfont][ss][sans][schwaben][default][encoding=texnansi]

\setupbodyfont[Firstfont,12pt]

At least in my case this works.

Success Willi

----- Original Message -----
From: Bill McClain <wmcclain@salamander.com>
Cc: <ntg-context@ntg.nl>
Sent: Tuesday, March 05, 2002 10:47 PM
Subject: Re: TrueType Fonts in Context under Linux?

> Daniel Joyce wrote:
> >
> >         Is there a way to get TrueType fonts into Context under Linux?
>
> I'm guessing it is not a Context issue, but rather one for the backend.
> The pdftex manual shows how to use TrueType fonts: you put a line in the
> map file just as if it were a Type1 font.
>
> However, I only tried this once and the kerning was not right. I haven't
> had time to investigate since.
>
> -Bill


      parent reply	other threads:[~2002-03-06 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-05 20:13 Daniel Joyce
2002-03-05 21:47 ` Bill McClain
2002-03-05 22:27   ` Henning Hraban Ramm
2002-03-06 21:05   ` W. Egger [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='005201c1c553$de2af840$0100a8c0@digitpaint.nl' \
    --to=w.egger@boede.nl \
    --cc=wmcclain@salamander.com \
    /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).