summaryrefslogtreecommitdiff
path: root/fonts/utilities/vfinst/OT1sw.etx
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/utilities/vfinst/OT1sw.etx')
-rw-r--r--fonts/utilities/vfinst/OT1sw.etx28
1 files changed, 28 insertions, 0 deletions
diff --git a/fonts/utilities/vfinst/OT1sw.etx b/fonts/utilities/vfinst/OT1sw.etx
new file mode 100644
index 0000000000..f37aa85fa9
--- /dev/null
+++ b/fonts/utilities/vfinst/OT1sw.etx
@@ -0,0 +1,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