summaryrefslogtreecommitdiff
path: root/fonts/utilities/vfinst/OT1sw.etx
blob: f37aa85fa9216a6b9c5e6d6ae5d9b9a722fe4dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\relax

This is file OT1sw.etx, part of vfinst by Alan Hoenig (ajhjj@cunyvm.cuny.edu).
It's for creating swash fonts in the OT1 encoding.  This file is heavily based 
upon Alan Jeffrey's similarly-named files in the fontinst package.

\encoding

% We define the parameters for OT1.etx to produce a font with swash-like
% characters.

\setcommand\lc#1#2{#2}
\setcommand\uc#1#2{#1swash}
\setcommand\lclig#1#2{#2}
\setcommand\uclig#1#2{#1}
\ifisglyph{zerooldstyle}\then % do oldstyle digits exist?
  \setcommand\digit#1{#1oldstyle}
\else
  \setcommand\digit#1{#1}
\fi
\setcommand\currency{dollar}
\setcommand\tty{n}

% Then we call OT1.etx.

\inputetx{OT1}

\endencoding