diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/engwar/engwar.mf |
Initial commit
Diffstat (limited to 'fonts/engwar/engwar.mf')
-rw-r--r-- | fonts/engwar/engwar.mf | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/fonts/engwar/engwar.mf b/fonts/engwar/engwar.mf new file mode 100644 index 0000000000..af4194cf77 --- /dev/null +++ b/fonts/engwar/engwar.mf @@ -0,0 +1,58 @@ +% Copyright 1986 Michael Urban +% Everyone is granted permission to copy, modify and redistribute +% this file, provided that a currently-dated copy of this +% copyright notice is included in the copy. +% License is granted to produce fonts based on the information +% in this file, provided that such fonts are redistributed +% without charge to any third party. + +% SCCS ID @(#)tengwar.mf 1.1 10/1/86 + +mode_setup; +em#:=10pt#; cap#=.8em#; dep#=.4em#; xht#=.4em#; +Xht#=.6em#; +shortwidth := .6em#; + +thick#:=9/80em#; thin#:=3/80em#; +leadgap# := .1em#; +bowstart#= .66xht#; +Bowstart#= .66Xht#; +serifthick# := 1.1thick#; + +tilt:=50; seriftilt := 110; botseriftilt:=80; +shortstem := .7; +longstem := .85; +stemdepth := .9; +bowsize := .58; + +define_pixels(em,cap,dep,xht,Xht,bowstart,Bowstart); +define_pixels(thin,thick,serifthick,leadgap); + +pen elvishpen; elvishpen = pencircle xscaled thick yscaled thin rotated tilt; + +% +% Because even "tall" characters want to be accented in the same place, +% but because we want to use "h" in "beginchar" definitions +% in a typical plain-MF way, +% we force all characters to have a character height of xht#. This is +% something a kludge, and makes tall characters stick into preceding lines +% when the baselines aren't sufficiently separated. But that's how the +% title-page inscription looks anyway. +% +let oldendchar = endchar; +def endchar= + charht := xht#; + oldendchar; +enddef; + +input eng; + +font_normal_space .45em#; +font_normal_stretch .22em#; +font_normal_shrink .15em#; +font_x_height xht#; +font_quad 1em#; +font_extra_space 1/6em#; +designsize:=1em#; + +bye; |