%%% fontinst-file:  fontzet.tex
%%% version:        1.0
%%% date:           97/05/31
%%% author:         Constantin Kahn <kahn@math.uni-hannover.de>
%%% address:        Inst. f. Mathematik (C), Univ. Hannover,
%%%                 Welfengarten 1, 30167 Hannover, Germany
%%% author:         Robert Fuster <rfuster@mat.upv.es>
%%% address:        Departament de Matem\`atica Aplicada
%%%                 Universitat Polit\`ecnica de Val\`encia
%%%                 Cam\'\i{} de Vera, 14, 46071 Val\`encia, Spain
%%% abstract:       This fontinst program installs virtual fonts for the
%%%                 T1-encoded cmtt-family, based on cm* and Helvetica fonts.  
%%%                 The fonts are called ze* following the same naming
%%%                 conventions as used in ec*.
%%%                 This is a trivial adaptation from fontzdt.tex (version 1.3a)
%%%                 by Constantin Kahn. You need all the 'zd' files by
%%%                 C. Kahn.
%%% important:      The fontinst program fontzd0.tex by C. Kahn
%%%                 must be run before this program can be used!

\input fontinst.sty

\needsfontinstversion{1.332}

% Input utility commands and declarations

\input zdutils.sty

% We are creating monowidth fonts (this parameter is used in T1.etx)

\setint{monowidth}{0}

% Installation of ze-fonts from the T1/cmtt-family

\installfonts

%%%%%%%%%%%%%%% Generate T1zett.fd file %%%%%%%%%%%%%%%

\installfamily{T1}{zett}{\hyphenchar\font=-1}

%%%%%%%%%%%%%%% ZETT???? %%%%%%%%%%%%%%%
%
%  metrics files used for creating zett*:
%
%   kernoff              switch kerning commands off
%   \dcfont{ectt*}       ec font to be imitated
%   cmtt*                corresponding cm font
%   xzdtt                font-specific adjustments for compound glyphs
%   cmvtt10              various glyphs
%   zdascii              asciicircum
%   phvr0 scaled 851     ogonek, guillemets, sterling
%   zdcompgl             compound glyphs (and a few hacks)
%   zdmonowd             fit characters into dc width boxes

\installfont{zett0800}
   {kernoff,\dcfont{ectt0800},cmtt8,xzdtt,
   cmvtt10,zdascii,
   phvr0 scaled 851,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{n}{8}
\installfont{zett0900}
   {kernoff,\dcfont{ectt0900},cmtt9,xzdtt,cmvtt10,zdascii,
      phvr0 scaled 851,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{n}{9}
\installfont{zett1000}
   {kernoff,\dcfont{ectt1000},cmtt10,xzdtt,cmvtt10,zdascii,
      phvr0 scaled 851,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{n}{10..11}
\installfont{zett1200}
   {kernoff,\dcfont{ectt1200},cmtt12,xzdtt,cmvtt10,zdascii,
      phvr0 scaled 851,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{n}{12..24}

%%%%%%%%%%%%%%% ZEIT1000 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zeitt10:
%
%   kernoff              switch kerning commands off
%   \dcfont{ecit1000}     ec font to be imitated
%   \itfont{cmitt10}     corresponding cm font
%   xzditt               font-specific adjustments for compound glyphs
%   cmsltt10             dollar
%   cmvtt10o             various glyphs
%   zdascii              asciicircum
%   phvro0 scaled 851    ogonek, guillemets, sterling
%   unsfligs             unset f-ligatures (from cmvtt10, pcrr0)
%   zdcompgl             compound glyphs (and a few hacks)
%   zdmonowd             fit characters into dc width boxes

\installfont{zeit1000}
   {kernoff,\dcfont{ecit1000},\itfont{cmitt10},xzditt,cmsltt10,cmvtt10o,
      zdascii,phvro0 scaled 851,unsfligs,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{it}{8..24}

%%%%%%%%%%%%%%% ZEST1000 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zest1000:
%
%   kernoff              switch kerning commands off
%   \dcfont{ecst1000}    ec font to be imitated
%   cmsltt10             corresponding cm font
%   xzdsltt              font-specific adjustments for compound glyphs
%   \itfont{cmitt10}     sterling
%   cmvtt10o             various glyphs
%   zdascii              asciicircum
%   phvro0 scaled 851    ogonek, guillemets, sterling
%   zdcompgl             compound glyphs (and a few hacks)
%   zdmonowd             fit characters into dc width boxes

\installfont{zest1000}
   {kernoff,\dcfont{ecst1000},cmsltt10,xzdsltt,\itfont{cmitt10},cmvtt10o,
      zdascii,phvro0 scaled 851,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{sl}{8..24}

%%%%%%%%%%%%%%% ZETC1000 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zetc1000:
%
%   kernoff              switch kerning commands off
%   \dcfont{ectc1000}    ec font to be imitated
%   cmtcsc10             corresponding cm font
%   xzdtcsc              font-specific adjustments for compound glyphs
%   cmvtt10              various glyphs
%   zdascii              asciicircum
%   phvr0 scaled 851     ogonek, guillemets, sterling
%   unsfligs             unset f-ligatures (from cmvtt10, pcrr0)
%   zdcompgl             compound glyphs (and a few hacks)
%   zdmonowd             fit characters into dc width boxes

\installfont{zetc1000}
   {kernoff,\dcfont{ectc1000},cmtcsc10,xzdtcsc,cmvtt10,zdascii,
      phvr0 scaled 851,unsfligs,zdcompgl,zdmonowd}{T1}
   {T1}{zett}{m}{sc}{10..24}

\endinstallfonts

% We finally install the variable-width typewriter font which is not
% referenced in the standard LaTeX .fd files

\unsetint{monowidth}

\installfonts

%%%%%%%%%%%%%%% ZCVT1000 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdvtt10:
%
%   \dcfont{ecvt1000}     dc font to be imitated
%   cmvtt10              corresponding cm font
%   kernoff              switch kerning commands off
%   xzdvtt               font-specific adjustments for compound glyphs
%   cmtt10               various glyphs
%   zdascii              asciicircum
%   phvr0 scaled 851     ogonek, guillemets, sterling
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerns for compound glyphs

\installfont{zevt1000}
   {\dcfont{ecvt1000},cmvtt10,kernoff,xzdvtt,cmtt10,zdascii,
      phvr0 scaled 851,zdcompgl,kernon,zdkerns}{T1}
   {T1}{zevtt}{m}{n}{5..24}
    
\endinstallfonts

\bye
