ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Free fonts tetex
@ 2002-04-09  0:18 Nigel King
  2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
  2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
  0 siblings, 2 replies; 7+ messages in thread
From: Nigel King @ 2002-04-09  0:18 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-10 12:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-09  0:18 Free fonts tetex Nigel King
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

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).