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 via email to