summaryrefslogtreecommitdiff
path: root/fonts/malvern/source/maeenc.mf
blob: 91c0fb5a32d6349ace614b4e4d7a06ea01a2abde (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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: