summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/source/public/schulschriften/wesa14.mf
blob: 715dd70df1784836fa024fafd0e115c1b250b8c0 (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
% Schulausgangsschrift (SAS) wesa
% Walter Entenmann
% 23.10.2011
%

%%%%%%%%%%%%%%% wesa Metafont-Hauptfile %%%%%%%%%%%%%%%%%%
font_identifier:= "WESA";
font_size := 14pt#;
font_coding_scheme:="WESA text";

mode_setup;

% Vereinbarungen:
boolean wortende;
path p, q;

% sharp Variables:
% unit_width
ut#:=0.233pt#;

% Linienabstand 1:1:1
ht#:=20ut#; % x-Hoehe
dt#:=ht#; % Unterlaenge, Oberlaenge
Ht#:=ht#+dt#;% Versalhoehe
Hz#:=Ht#; % Ziffernhoehe
Wz#:=30ut#; % Ziffernbreite

% Umrechnung in Pixel-Groessen
define_pixels(ut,Ht,ht,dt,Hz,Wz);

% Federn:
% runde Feder (Redisfeder)
  pickup pencircle scaled 1.25ut;
wesa_pen:=savepen;
% fuer Punkte etc.
  pickup pencircle scaled 3ut;
wesa_pen_thick := savepen;
%
% Current Transformation, slanted
if unknown slant: slant:=0; else: currenttransform:=identity slanted slant; fi

% Eingabe der Program-Files:
wortende:=false;
% Parameter- und Makrodefinitionen
input wesa14_def;
% Grossbuchstaben
input wesa14_gr;
% Kleinbuchstaben
 input wesa14_kl;
% Sonderzeichen
 input wesa14_sz;
% Wortende
input wesa14_end;

 % Abstandsmasse:
 font_quad  14pt#;% 1em
 font_x_height := 4.66pt#; % 1ex
font_normal_space  5pt#;% Wortzwischenraum
font_normal_stretch  2pt#;
font_normal_shrink  1pt#;

boundarychar:=oct"040"; % space

% Ligaturtabellen
input wesa14_lig;
end
%%%%%%%%%%%%%% Ende wesa Metafont-Hauptfile  (Driver-File) %%%%%%