ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nigel King <king@dircon.co.uk>
Subject: Free fonts tetex
Date: Tue, 09 Apr 2002 01:18:05 +0100	[thread overview]
Message-ID: <B8D7F1CD.7C63%king@dircon.co.uk> (raw)

I have been following the various font exchanges with interest and nearly
got the 'free' fonts working. The following procedure almost works with all
fonts but courier.

Note bug in type.map shortening bitstream to bit

Also note in type-syn there is the line
\starttypescript [sans] [courier] [name]
Which seems odd since courier is mono and not at all sans

Procedure
make the fonts with
sudo texfont type-tmf.dat --en=texnansi

uncomment 
\autoloadmapfilestrue
in cont-sys.tex
---testfonts.tex---
\setupoutput[pdftex]
\loadmapfile[texnansi-bitstrea-charter.map]%to fix bug in
% type-map.tex type-texnansi-bit-charter.map

\definetypeface[charter] [rm][serif][charter] [default][encoding=texnansi]
\definetypeface[utopia]  [rm][serif][utopia]  [default][encoding=texnansi]
\definetypeface[bookman] [rm][serif][bookman] [default][encoding=texnansi]
\definetypeface[helvetic][ss][sans] [helvetica][default][encoding=texnansi]
\definetypeface[palatino][rm][serif][palatino][default][encoding=texnansi]
\definetypeface[times]   [rm][serif][times]   [default][encoding=texnansi]
\definetypeface[zapfchan][cg][calligraphy][chancery][default][encoding=texna
nsi]
\definetypeface[courier] [tt][mono] [courier] [default][encoding=texnansi]
\setupwhitespace[medium]
\setuphead[section][page=right]

\def\testa{\tf\input tufte \par\it\input tufte \par\bf\input tufte
\par\bi\input tufte \par}%\tf\it\bf\\bi
\def\testb{\testa \par\sl\input tufte \par\bs\input tufte \par\sc\input
tufte \par}%\sl\bs\sc

\starttext
 \switchtobodyfont[          10pt] \section{Computer Modern}\testb
 \switchtobodyfont[times,    10pt] \section{Times}\testb
 \switchtobodyfont[charter,  10pt] \section{Charter}\testb
 \switchtobodyfont[utopia,   10pt] \section{Utopia}\testb
 \switchtobodyfont[bookman,  10pt] \section{Bookman}\testb
 \switchtobodyfont[palatino, 10pt] \section{Palatino}\testb
 \switchtobodyfont[helvetic, 10pt] \section{Helvetica}\testa
 \switchtobodyfont[courier,  10pt] \section{Courier}
\startalignment[right]\testa\tt\testa\stopalignment
 \switchtobodyfont[zapfchan, 10pt] \section{Zapf Chancery}\input tufte
\stoptext

% bitstream charter did not work at all the map file attempted loading is
texnansi-bit-charter.map rather than texnansi-bitstrea-charter.map which was
made with type-tmf.dat. Bug indicated in separate message.
% courier does not work it loads cmtt

I have tried to get Avant Guard and New Century Schoolbook to work without
success. 
sudo texfont --en=texnansi --ve=urw --co=avantgar --so=auto
and
sudo texfont --en=texnansi --ve=urw --co=ncntrsbk --so=auto
Work and produce the appropriate tex files which produce good font maps
there is no support in the type-xxx files for these fonts which means being
more innovative which doesn't seem sensible until courier works.

-- 
Nigel


             reply	other threads:[~2002-04-09  0:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09  0:18 Nigel King [this message]
2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
2002-04-09 11:14   ` Giuseppe Bilotta
2002-04-09 18:45   ` Henning Hraban Ramm
2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
2002-04-10 11:07   ` Nigel King
2002-04-10 12:29   ` Re[2]: " Giuseppe Bilotta

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=B8D7F1CD.7C63%king@dircon.co.uk \
    --to=king@dircon.co.uk \
    /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).