% Copyright 1998, 1999 the fontinst maintenance team and any individual
% authors listed elsewhere in this file.  All rights reserved.
%
% This file is part of the fontinst system version 1.9.
% -----------------------------------------------------
%
% It may be distributed under the terms of the LaTeX Project Public
% License, as described in lppl.txt in the base LaTeX distribution.
% Either version 1.0 or, at your option, any later version.
%
%%% ====================================================================
%%%  @TeX-font-metrics-file{
%%%     author          = "Ulrik Vieth",
%%%     version         = "1.927",
%%%     date            = "13 April 2004",
%%%     time            = "23:01:07 CET",
%%%     filename        = "resetsc.mtx",
%%%     email           = "fontinst@tug.org",
%%%     URL             = "http://www.tug.org/applications/fontinst/",
%%%     checksum        = "07130 161 332 5005",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "metrics, raw, TeX, PostScript",
%%%     supported       = "yes",
%%%     abstract        = "This is a metrics file, for use with the
%%%                        fontinst utility.  It recodes glyph names
%%%                        for small capitals read from AFM files
%%%                        to glyph names with a `small' suffix.",
%%%     package         = "fontinst",
%%%     dependencies    = "fontinst.sty, fontdoc.sty",
%%%  }
%%% ====================================================================

\relax

\documentclass[twocolumn]{article}
\usepackage{fontdoc}

\title{The \texttt{resetsc.mtx} metrics file}
\author{Ulrik Vieth}
\date{16 November 1999 \\
Version 1.910}

\begin{document}
\maketitle

This document describes the \texttt{resetsc.mtx} metrics file, which is
used to recode raw glyph names for small capitals to glyph names with
a `small' suffix.

\metrics

\setcommand\smallcapsglyph#1#2{
  \ifisglyph{#2}\then
   \setglyph{#1}\glyph{#2}{1000}
   \endsetglyph
  \fi
}

\setcommand\smallcapskerning#1#2{
  \ifisglyph{#2}\then
   \setleftrightkerning{#1}{#2}{1000}
  \fi
}

% Renaming small caps glyphs.

\smallcapsglyph{Asmall}{a}
\smallcapsglyph{Bsmall}{b}
\smallcapsglyph{Csmall}{c}
\smallcapsglyph{Dsmall}{d}
\smallcapsglyph{Esmall}{e}
\smallcapsglyph{Fsmall}{f}
\smallcapsglyph{Gsmall}{g}
\smallcapsglyph{Hsmall}{h}
\smallcapsglyph{Ismall}{i}
\smallcapsglyph{Jsmall}{j}
\smallcapsglyph{Ksmall}{k}
\smallcapsglyph{Lsmall}{l}
\smallcapsglyph{Msmall}{m}
\smallcapsglyph{Nsmall}{n}
\smallcapsglyph{Osmall}{o}
\smallcapsglyph{Psmall}{p}
\smallcapsglyph{Qsmall}{q}
\smallcapsglyph{Rsmall}{r}
\smallcapsglyph{Ssmall}{s}
\smallcapsglyph{Tsmall}{t}
\smallcapsglyph{Usmall}{u}
\smallcapsglyph{Vsmall}{v}
\smallcapsglyph{Wsmall}{w}
\smallcapsglyph{Xsmall}{x}
\smallcapsglyph{Ysmall}{y}
\smallcapsglyph{Zsmall}{z}

\smallcapsglyph{Lslashsmall}{lslash}
\smallcapsglyph{Scaronsmall}{scaron}
\smallcapsglyph{Zcaronsmall}{zcaron}

\smallcapsglyph{Agravesmall}{agrave}
\smallcapsglyph{Aacutesmall}{aacute}
\smallcapsglyph{Acircumflexsmall}{acircumflex}
\smallcapsglyph{Atildesmall}{atilde}
\smallcapsglyph{Adieresissmall}{adieresis}
\smallcapsglyph{Aringsmall}{aring}
\smallcapsglyph{AEsmall}{ae}
\smallcapsglyph{Ccedillasmall}{ccedilla}
\smallcapsglyph{Egravesmall}{egrave}
\smallcapsglyph{Eacutesmall}{eacute}
\smallcapsglyph{Ecircumflexsmall}{ecircumflex}
\smallcapsglyph{Edieresissmall}{edieresis}
\smallcapsglyph{Igravesmall}{igrave}
\smallcapsglyph{Iacutesmall}{iacute}
\smallcapsglyph{Icircumflexsmall}{icircumflex}
\smallcapsglyph{Idieresissmall}{idieresis}
\smallcapsglyph{Ethsmall}{eth}
\smallcapsglyph{Ntildesmall}{ntilde}
\smallcapsglyph{Ogravesmall}{ograve}
\smallcapsglyph{Oacutesmall}{oacute}
\smallcapsglyph{Ocircumflexsmall}{ocircumflex}
\smallcapsglyph{Otildesmall}{otilde}
\smallcapsglyph{Odieresissmall}{odieresis}
\smallcapsglyph{OEsmall}{oe}
\smallcapsglyph{Oslashsmall}{oslash}
\smallcapsglyph{Ugravesmall}{ugrave}
\smallcapsglyph{Uacutesmall}{uacute}
\smallcapsglyph{Ucircumflexsmall}{ucircumflex}
\smallcapsglyph{Udieresissmall}{udieresis}
\smallcapsglyph{Yacutesmall}{yacute}
\smallcapsglyph{Thornsmall}{thorn}
\smallcapsglyph{Ydieresissmall}{ydieresis}

% Renaming small caps kern pairs.

\smallcapskerning{Asmall}{a}
\smallcapskerning{Bsmall}{b}
\smallcapskerning{Csmall}{c}
\smallcapskerning{Dsmall}{d}
\smallcapskerning{Esmall}{e}
\smallcapskerning{Fsmall}{f}
\smallcapskerning{Gsmall}{g}
\smallcapskerning{Hsmall}{h}
\smallcapskerning{Ismall}{i}
\smallcapskerning{Jsmall}{j}
\smallcapskerning{Ksmall}{k}
\smallcapskerning{Lsmall}{l}
\smallcapskerning{Msmall}{m}
\smallcapskerning{Nsmall}{n}
\smallcapskerning{Osmall}{o}
\smallcapskerning{Psmall}{p}
\smallcapskerning{Qsmall}{q}
\smallcapskerning{Rsmall}{r}
\smallcapskerning{Ssmall}{s}
\smallcapskerning{Tsmall}{t}
\smallcapskerning{Usmall}{u}
\smallcapskerning{Vsmall}{v}
\smallcapskerning{Wsmall}{w}
\smallcapskerning{Xsmall}{x}
\smallcapskerning{Ysmall}{y}
\smallcapskerning{Zsmall}{z}

\endmetrics

\section{Changes}

2004/04/13: Fixed typo (\texttt{Xsmall} instead of \texttt{Ysmall}).
(LH)
\end{document}
