-
Notifications
You must be signed in to change notification settings - Fork 1
/
font.mf
54 lines (48 loc) · 2.57 KB
/
font.mf
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% MF Adjuster v1.36 %
% © 2014 by Marco Mueller and Simon Egli %
% thanks to Christian Vetter, Linus Roemer, Alexis Reigel %
% www.metaflop.com %
% licensed under gpl v3: www.gnu.org/licenses/ %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% This program is free software: you can redistribute it and/or modify %
% it under the terms of the GNU General Public License as published by %
% the Free Software Foundation, either version 3 of the License, or %
% (at your option) any later version. %
% %
% This program is distributed in the hope that it will be useful, %
% but WITHOUT ANY WARRANTY; without even the implied warranty of %
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the %
% GNU General Public License for more details. %
% %
% You should have received a copy of the GNU General Public License %
% along with this program. If not, see <http://www.gnu.org/licenses/>. %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% dimension %
font_size:=10pt#;% font size @hidden
ht#:=10pt#; % box height @hidden
u#:=1.25pt#; % unit widht $ 0.5 / 2
px#:=0.8pt#; % pen width $ 0.1 / 2.8
py#:=0.8pt#; % pen height $ 0.1 / 2.8
% proportion %
cap#:=1ht#; % cap height @hidden $ 0.75 / 1
bar1#:=1/6cap#; % @hidden
bar2#:=2/6cap#; % @hidden
bar3#:=3/6cap#; % @hidden
bar4#:=4/6cap#; % @hidden
bar5#:=5/6cap#; % @hidden
ang:=45; % glyph angle setting $ 0 / 360
% shape %
penang:=15; % pen angle setting $ 0 / 360
penshape:=1; % 1=circle / 2=square / 3=razor
c=1; % curve tension $ 1 / 20
% export %
sidebearing:=1; % sidebearings (0) off, (1) on for .otf export
input fontbase;
input glyphs;
input ligkerndef;
bye;