| 1 |
%% |
| 2 |
%% This is file `nkarta.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% nkarta.dtx (with options: `MF') |
| 8 |
%% ------------------------------------------------------------------- |
| 9 |
%% Copyright 2002--2009, Daniel H. Luecking |
| 10 |
%% |
| 11 |
%% Nkarta is in the public domain |
| 12 |
%% |
| 13 |
|
| 14 |
mode_setup; |
| 15 |
smoothing := 2; autorounding := 2; |
| 16 |
|
| 17 |
if (not known FontSize) or (not numeric FontSize): |
| 18 |
numeric FontSize; |
| 19 |
FontSize := 15pt#; |
| 20 |
fi |
| 21 |
FS# := FontSize/1000; |
| 22 |
define_pixels(FS); |
| 23 |
|
| 24 |
boolean debug; debug:=false; |
| 25 |
|
| 26 |
path P[]; numeric P; |
| 27 |
def setP = P[incr P] := enddef; |
| 28 |
|
| 29 |
def drawthem = |
| 30 |
if debug: % debug |
| 31 |
pickup pencircle scaled .4pt; % |
| 32 |
fi % |
| 33 |
for n = 1 upto P: |
| 34 |
if debug: % |
| 35 |
addto currentpicture doublepath (P[n] scaled FS); % |
| 36 |
else: % |
| 37 |
addto currentpicture contour (P[n] scaled FS); |
| 38 |
fi |
| 39 |
cullit; % debug |
| 40 |
endfor |
| 41 |
enddef; |
| 42 |
extra_beginchar:= extra_beginchar & "P := 0;"; |
| 43 |
extra_endchar:= "drawthem;" & extra_endchar; |
| 44 |
|
| 45 |
beginchar (32,280*FS#,0*FS#,0*FS#); |
| 46 |
"space"; |
| 47 |
setP (0,0) -- cycle ; |
| 48 |
endchar; |
| 49 |
|
| 50 |
input nkchars; |
| 51 |
|
| 52 |
font_slant:=0; |
| 53 |
font_normal_space:=280*FS#; |
| 54 |
font_normal_stretch:=140*FS#; |
| 55 |
font_normal_shrink:=93*FS#; |
| 56 |
font_x_height:=500*FS#; |
| 57 |
font_quad:=586*FS#; |
| 58 |
designsize:=FontSize; |
| 59 |
font_coding_scheme:="AppleStandard"; |
| 60 |
font_identifier:="NKarta"; |
| 61 |
end. |
| 62 |
%% |
| 63 |
%% End of file `nkarta.mf'. |