summaryrefslogtreecommitdiff
path: root/fonts/malvern/source/maeenc.mf
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/malvern/source/maeenc.mf')
-rw-r--r--fonts/malvern/source/maeenc.mf79
1 files changed, 79 insertions, 0 deletions
diff --git a/fonts/malvern/source/maeenc.mf b/fonts/malvern/source/maeenc.mf
new file mode 100644
index 0000000000..91c0fb5a32
--- /dev/null
+++ b/fonts/malvern/source/maeenc.mf
@@ -0,0 +1,79 @@
+% maeenc.mf 1.2.0 1994/10/11 -- Malvern composite letters encoding
+% Copyright 1994 P. Damian Cugley
+
+%%% @METAFONT-file {
+%%% filename = "maeenc.mf",
+%%% version = "1.2.0",
+%%% date = "1994/10/11",
+%%% package = "Malvern 1.2",
+%%% author = "P. Damian Cugley",
+%%% email = "damian.cugley@comlab.ox.ac.uk",
+%%% address = "Oxford University Computing Laboratory,
+%%% Parks Road, Oxford OX1 3QD, UK",
+%%% codetable = "USASCII",
+%%% keywords = "Malvern, METAFONT, font, typefont, TeX",
+%%% supported = "Maybe",
+%%% abstract = "Encoding definition for the Malvern
+%%% font family.",
+%%% dependencies = "other program files",
+%%% }
+
+% See the Malvern Handbook (maman.tex) for more info about Malvern.
+% This software is available freely but without warranty.
+% See the file COPYING for details.
+
+%{{{ maeenc.mf
+
+% This file is in a bit of a mess -- needs an overhaul.
+% I haven't bothered because I have no particular use for
+% this font.
+
+tmp := 0;
+def def_composite(suffix @#)text t =
+ forsuffixes $$ = t:
+ code.cap.@#.$$ = tmp;
+ code.lc.@#.$$ = tmp + 32;
+ code.mc.@#.$$ = tmp + 128;
+ code.sc.@#.$$ = tmp + 128 + 32;
+ tmp := tmp + 1; if tmp = 32:tmp := 64; fi
+ endfor
+enddef;
+
+co_only := true;
+
+%code.mcap.A = 0;
+code.lc.a= code.a = 64;
+%code.A = 128;
+%code.scap.A = 128 + 64;
+
+%code.offset.LC = 32;
+%code.offset.MC = 32 + 128;
+%code.offset.SC = 32 + 128 + 64;
+
+def_composite(a) acute, grave, circumflex, tilde, ring, breve, twodots;
+def_composite(c) acute, circumflex, hook, cedilla;
+def_composite(d) hook, bar;
+def_composite(e) acute, grave, circumflex, hook, twodots;
+def_composite(g) circumflex, breve;
+def_composite(h) circumflex;
+def_composite(i) acute, grave, circumflex, dot, breve, twodots;
+def_composite(j) circumflex;
+def_composite(l) acute, hook;
+def_composite(n) acute, tilde, hook;
+def_composite(o) acute, grave, circumflex, tilde, hungarian, twodots, cdot;
+def_composite(r) acute, hook;
+def_composite(s) acute, circumflex, hook, cedilla;
+def_composite(t) hook, cedilla;
+def_composite(u) acute, grave, circumflex, ring, breve, hungarian, twodots;
+def_composite(w) circumflex;
+def_composite(y) acute, circumflex, twodots, macron;
+def_composite(z) acute, hook, dot;
+def_composite() ij;
+
+font_coding_scheme "Malvern D " & maversion;
+
+%}}}
+
+% Local variables:
+% fold-folded-p: t
+% End: