%%% fontinst-file:  fontzds.tex
%%% version:        1.2a
%%% date:           94/08/10
%%% author:         Constantin Kahn <kahn@math.uni-hannover.de>
%%% address:        Inst. f. Mathematik (C), Univ. Hannover,
%%%                 Welfengarten 1, 30167 Hannover, Germany
%%% abstract:       This fontinst program installs virtual fonts for the
%%%                 T1-encoded cmss-family, based on cm* and Helvetica fonts.  
%%%                 The fonts are called zd* following the same naming
%%%                 conventions as used in cm* and dc*.
%%% important:      The fontinst program fontzd0.tex must be run before
%%%                 this program can be used!

\input fontinst.sty

\needsfontinstversion{1.332}

% Input utility commands and declarations

\input zdutils.sty

% Declare font substitutions it -> sl for this family

\substitutenoisy{it}{sl}

% Installation of zd-fonts from the T1/cmss-family

\installfonts

%%%%%%%%%%%%%%% Generate T1cmss.fd file %%%%%%%%%%%%%%%

\installfamily{T1}{cmss}{}

%%%%%%%%%%%%%%% ZDSS8,ZDSS9,ZDSS10,ZDSS12 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdss*:
%
%   \dcfont{dcss*}       dc font to be imitated
%   cmss*                corresponding cm font
%   kernoff              switch kerning commands off
%   xzdss                font-specific adjustments for compound glyphs
%   cmsy10               various symbols
%   cmmi10               less, greater
%   zdascii              asciicircum, asciitilde, underscore
%   cmtt*                visiblespace, quotedbl
%   unssectn             unset section glyph
%   phvr0 scaled 967     ogonek, guillemets, section
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerning instructions

\installfont{zdss8}
   {\dcfont{dcss8},cmss8,kernoff,xzdss,cmsy10,cmmi10,zdascii,
      cmtt8, unssectn,phvr0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{n}{5..8}
\installfont{zdss9}
   {\dcfont{dcss9},cmss9,kernoff,xzdss,cmsy10,cmmi10,zdascii,
      cmtt9,unssectn,phvr0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{n}{9}
\installfont{zdss10}
   {\dcfont{dcss10},cmss10,kernoff,xzdss,cmsy10,cmmi10,zdascii,
      cmtt10,unssectn,phvr0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{n}{10..11}
\installfont{zdss12}
   {\dcfont{dcss12},cmss12,kernoff,xzdss,cmsy10,cmmi10,zdascii,
      cmtt12,unssectn,phvr0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{n}{12..24}

%%%%%%%%%%%%%%% ZDSSI8,ZDSSI9,ZDSSI10,ZDSSI12 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdssi*:
%
%   \dcfont{dcssi*}      dc font to be imitated
%   cmssi*               corresponding cm font
%   kernoff              switch kerning commands off
%   xzdssi               font-specific adjustments for compound glyphs
%   cmsy10o              various symbols
%   cmmi10o              less, greater
%   zdascii              asciicircum, asciitilde, underscore
%   cmitt*               visiblespace, quotedbl
%   unssectn             unset section glyph
%   phvro0 scaled 967    ogonek, guillemets, section
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerning instructions

\installfont{zdssi8}
   {\dcfont{dcssi8},cmssi8,kernoff,xzdssi,cmsy10o,cmmi10o,zdascii,
      cmitt10,unssectn,phvro0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{sl}{5..8}
\installfont{zdssi9}
   {\dcfont{dcssi9},cmssi9,kernoff,xzdssi,cmsy10o,cmmi10o,zdascii,
      cmitt10,unssectn,phvro0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{sl}{9}
\installfont{zdssi10}
   {\dcfont{dcssi10},cmssi10,kernoff,xzdssi,cmsy10o,cmmi10o,zdascii,
      cmitt10,unssectn,phvro0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{sl}{10..11}
\installfont{zdssi12}
   {\dcfont{dcssi12},cmssi12,kernoff,xzdssi,cmsy10o,cmmi10o,zdascii,
      cmitt10,unssectn,phvro0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{m}{sl}{12..24}

%%%%%%%%%%%%%%% ZDSSDC10 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdssdc10:
%
%   \dcfont{dcssdc10}    dc font to be imitated
%   cmssdc10             corresponding cm font
%   kernoff              switch kerning commands off
%   xzdssdc              font-specific adjustments for compound glyphs
%   cmbsy10              various symbols
%   cmmib10              less, greater
%   zdascii              asciicircum, asciitilde, underscore
%   cmtt10               visiblespace, quotedbl
%   unssectn             unset section glyph
%   phvb0 scaled 967     ogonek, guillemets, section
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerning instructions

\installfont{zdssdc10}
   {\dcfont{dcssdc10},cmssdc10,kernoff,xzdssdc,cmbsy10,cmmib10,zdascii,
      cmtt10,unssectn,phvb0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{sbc}{n}{5..24}

%%%%%%%%%%%%%%% ZDSSBX10 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdssbx10:
%
%   \dcfont{dcssbx10}    dc font to be imitated
%   cmssbx10             corresponding cm font
%   kernoff              switch kerning commands off
%   xzdssbx              font-specific adjustments for compound glyphs
%   cmbsy10              various symbols
%   cmmib10              less, greater
%   zdascii              asciicircum, asciitilde, underscore
%   cmtt10               visiblespace, quotedbl
%   unssectn             unset section glyph
%   phvb0 scaled 967     ogonek, guillemets, section
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerning instructions

\installfont{zdssbx10}
   {\dcfont{dcssbx10},cmssbx10,kernoff,xzdssbx,cmbsy10,cmmib10,zdascii,
      cmtt10,unssectn,phvb0 scaled 967,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmss}{bx}{n}{5..24}

\endinstallfonts

% We finally install the sans-serif quotation style fonts which are not
% referenced in the standard LaTeX .fd files

\installfonts

%%%%%%%%%%%%%%% ZDSSQ8 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdssq8:
%
%   \dcfont{dcssq8}      dc font to be imitated
%   cmssq8               corresponding cm font
%   kernoff              switch kerning commands off
%   xzdssq               font-specific adjustments for compound glyphs
%   cmsy10               various symbols
%   cmmi10               less, greater
%   zdascii              asciicircum, asciitilde, underscore
%   cmtt8                visiblespace, quotedbl
%   unssectn             unset section glyph
%   phvr0 scaled 955     ogonek, guillemets
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerning instructions

\installfont{zdssq8}
   {\dcfont{dcssq8},cmssq8,kernoff,xzdssq,cmsy10,cmmi10,zdascii,
      cmtt8,unssectn,phvr0 scaled 955,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmssq}{m}{n}{5..24}

%%%%%%%%%%%%%%% ZDSSQI8 %%%%%%%%%%%%%%%
%
%  metrics files used for creating zdssqi8:
%
%   \dcfont{dcssqi8}     dc font to be imitated
%   cmssqi8              corresponding cm font
%   kernoff              switch kerning commands off
%   xzdssqi              font-specific adjustments for compound glyphs
%   cmsy10o              various symbols
%   cmmi10o              less, greater
%   zdascii              asciicircum, asciitilde, underscore
%   cmsltt10             visiblespace, quotedbl
%   unssectn             unset section glyph
%   phvro0 scaled 955    ogonek, guillemets
%   zdcompgl             compound glyphs (and a few hacks)
%   kernon               switch kerning commands on
%   zdkerns              kerning instructions

\installfont{zdssqi8}
   {\dcfont{dcssqi8},cmssqi8,kernoff,xzdssqi,cmsy10o,cmmi10o,zdascii,
      cmsltt10,unssectn,phvro0 scaled 955,zdcompgl,kernon,zdkerns}{T1}
   {T1}{cmssq}{m}{it}{5..24}

\endinstallfonts

\bye
