summaryrefslogtreecommitdiff
path: root/fonts/malvern/source/mabenc.mf
blob: b8c1d0318e56aeb8d04a8cd1e686f0245782e7c9 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
% mabenc.mf 1.2.0 1994/10/11 -- Malvern encoding B
% Copyright 1994 P. Damian Cugley

%%% @METAFONT-file {
%%%   filename       = "mabenc.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       = "Character programs for the Malvern
%%%                     font family, to be compiled using
%%%                     METAFONT into TFM files (for TeX) and
%%%                     GF files (for your printer driver).",
%%%   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.

%{{{ mabenc.mf
%{{{  arrows

code.arrow.left 	= 0;
code.arrow.right 	= 1;
code.arrow.up 		= 2;
code.arrow.down 	= 3;
code.arrow.left_right 	= 4;
code.arrow.up_down 	= 5;
code.arrow.horiz_ex 	= 6;
code.arrow.vert_ex 	= 7;

code.arrow.dbl.left 	= 128;
code.arrow.dbl.right 	= 129;
code.arrow.dbl.up	= 130;
code.arrow.dbl.down 	= 131;
code.arrow.dbl.left_right = 132;
code.arrow.dbl.up_down 	= 133;
code.arrow.dbl.horizex 	= 134;
code.arrow.dbl.vertex 	= 135;
%}}}  arrows
%{{{  lower case latin specials

tmp := 64;
code.cap.thorn1	    	= incr tmp;
code.cap.eth1	    	= incr tmp;
code.cap.wyn	    	= incr tmp;		  
code.cap.yogh	    	= incr tmp;		  % one stroke
code.cap.yogh1	    	= incr tmp;		  % g-ish one

tmp := 96;

%  Some letters used in printing Old English and the like:
code.lc.thorn1	    	= incr tmp;
code.lc.eth1	    	= incr tmp;
code.lc.wyn	    	= incr tmp;		  
code.lc.yogh	    	= incr tmp;		  % one stroke
code.lc.yogh1	    	= incr tmp;		  % g-ish one

code.lc.c.h		= incr tmp;		  % Fraktur
code.lc.c.k		= incr tmp;		  % ditto
code.lc.c.t		= incr tmp;		  % archaic link ligature
code.lc.f.t		= incr tmp;
code.lc.ij  	    	= incr tmp;		  % ij letter not ligature?
code.lc.l.l		= incr tmp;		  % Fraktur
code.lc.longs  		= incr tmp;		  %
code.lc.longs.i 	= incr tmp;
code.lc.longs.longs 	= incr tmp;
code.lc.longs.s 	= incr tmp;
code.lc.longs.t 	= incr tmp;
code.lc.s.t		= incr tmp;		  % archaic link ligature
code.lc.longs.z 	= incr tmp;		  % Fraktur Eszet
code.lc.t.z		= incr tmp;		  % Fraktur

code.lc.schwa	    	= incr tmp;		  % inverted e

% variant letters -- Malvern-specific:

code.lc.l1	= incr tmp;			  % l with curl at base
code.lc.l.acute1 = incr tmp;			  % ditto plus acute
code.lc.l.hook1 = incr tmp;			  % ditto plus hook
code.lc.l.slash1 = incr tmp;
code.lc.l.l1 = incr tmp;			    	    % 
code.cap.m1 = inc tmp;

%}}}  lower case latin specials
% ASCII quote and quote.dbl care called ticks because
%  quote is a reserved word

code.space  	    	= ASCII " ";
code.tick.dbl 	= 34;
code.per_thousand_zero	= ASCII "%"; 	% a Cork-ism
code.tick	    	= ASCII "'";
code.comma  	    	= ASCII ",";
code.ellipsis	    	= ASCII ".";
code.fraction	    	= ASCII "/";

code.zero.superior  	= ASCII"0";

code.divide 	    	= ASCII ":";
code.less   		= ASCII "<";
code.greater		= ASCII ">";

code.backslash	    	= ASCII "\";
code.ascii.circumflex	= ASCII "^";
code.ascii.underscore	= ASCII "_";
code.backtick	    	= ASCII "`";

code.vert   	    	= ASCII "|";
code.swung_dash 	= ASCII "~";

numeric t; t = 160 - 1;
code.ascii.visible_space = incr t;
code.one_quarter    	= incr t;
code.one_half	    	= incr t;
code.three_quarters 	= incr t;
code.logical_not    	= incr t;
code.gr.lc.mu	    	= incr t;
code.ascii.broken_bar	= incr t;

code.zero.inferior  = ASCII"0" + 128;

font_coding_scheme "Malvern B " & maversion;
%}}}

% Local variables:
% fold-folded-p: t
% End: