| 1 |
%% |
| 2 |
%% This is file `viktitle.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% viking.dtx (with options: `mfd') |
| 8 |
%% |
| 9 |
%% Copyright 2003 Uwe Zimmermann |
| 10 |
%% |
| 11 |
%% This program is provided under the terms of the |
| 12 |
%% LaTeX Project Public License distributed from CTAN |
| 13 |
%% archives in directory macros/latex/base/lppl.txt. |
| 14 |
%% |
| 15 |
%% Author: Uwe Zimmermann |
| 16 |
%% [email protected] |
| 17 |
%% |
| 18 |
%% based on runic.ins by Peter R. Wilson |
| 19 |
%% |
| 20 |
|
| 21 |
font_coding_scheme:="Runic glyphs"; |
| 22 |
mode_setup; |
| 23 |
|
| 24 |
ho#:=o#; % horizontal overshoot |
| 25 |
leftloc#:=s#; % leftmost xcoord of character |
| 26 |
py#:=.9px#; % vertical thickness of the pen |
| 27 |
|
| 28 |
define_pixels(s,u); |
| 29 |
define_blacker_pixels(px,py); |
| 30 |
define_good_x_pixels(leftloc); |
| 31 |
define_corrected_pixels(o); % turn on overshoot correction |
| 32 |
define_horizontal_corrected_pixels(ho); |
| 33 |
|
| 34 |
numeric midloc, rightloc; |
| 35 |
pickup pencircle xscaled px yscaled py; |
| 36 |
stylus:=savepen; |
| 37 |
|
| 38 |
pickup pencircle xscaled 2px yscaled 2px; |
| 39 |
stugna:=savepen; |
| 40 |
|
| 41 |
def beginglyph(expr code, unit_width) = |
| 42 |
beginchar(code, unit_width*ht#+2s#, ht#, 0); |
| 43 |
midloc:=1/2w; rightloc:=(w-s); |
| 44 |
pickup stylus enddef; |
| 45 |
|
| 46 |
let cmchar=\; |
| 47 |
|
| 48 |
|
| 49 |
input vikglyph; % Runic glyphs |
| 50 |
|
| 51 |
end |
| 52 |
|