summaryrefslogtreecommitdiff
path: root/fonts/utilities/vfinst/T19vf.etx
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/utilities/vfinst/T19vf.etx')
-rw-r--r--fonts/utilities/vfinst/T19vf.etx25
1 files changed, 25 insertions, 0 deletions
diff --git a/fonts/utilities/vfinst/T19vf.etx b/fonts/utilities/vfinst/T19vf.etx
new file mode 100644
index 0000000000..0dd37b920a
--- /dev/null
+++ b/fonts/utilities/vfinst/T19vf.etx
@@ -0,0 +1,25 @@
+\relax
+
+\encoding
+
+% We define the parameters for T1.etx to produce a font with old
+% style digits.
+
+\setcommand\lc#1#2{#2}
+\setcommand\uc#1#2{#1}
+\setcommand\lclig#1#2{#2}
+\setcommand\uclig#1#2{#1}
+%% Since oldstyle numerals are unfakable, let's make sure they
+%% exist before we define them as such...
+\ifisglyph{zerooldstyle}\then % good---they exist!
+ \setcommand\digit#1{#1oldstyle}
+\else
+ \setcommand\digit#1{#1} % bad---regular digits are better than nothing.
+\fi
+\setcommand\tty{n}
+
+% Then we call T1.etx.
+
+\inputetx{T1}
+
+\endencoding